Lines Matching defs:error
130 _GLFWerror* error = _glfw.errorListHead;
131 _glfw.errorListHead = error->next;
132 _glfw_free(error);
307 // Notifies shared code of an error
311 _GLFWerror* error;
341 strcpy(description, "A platform-specific error occurred");
360 error = _glfwPlatformGetTls(&_glfw.errorSlot);
361 if (!error)
363 error = _glfw_calloc(1, sizeof(_GLFWerror));
364 _glfwPlatformSetTls(&_glfw.errorSlot, error);
366 error->next = _glfw.errorListHead;
367 _glfw.errorListHead = error;
372 error = &_glfwMainThreadError;
374 error->code = code;
375 strcpy(error->description, description);
501 _GLFWerror* error;
508 error = _glfwPlatformGetTls(&_glfw.errorSlot);
510 error = &_glfwMainThreadError;
512 if (error)
514 code = error->code;
515 error->code = GLFW_NO_ERROR;
517 *description = error->description;