#include "internal.h"
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
Go to the source code of this file.
Functions | |
void | _glfwInputError (int error, const char *format,...) |
Notifies shared code of an error. | |
static const char * | getErrorString (int error) |
GLFWAPI void | glfwGetVersion (int *major, int *minor, int *rev) |
Retrieves the version of the GLFW library. | |
GLFWAPI const char * | glfwGetVersionString (void) |
Returns a string describing the compile-time configuration. | |
GLFWAPI int | glfwInit (void) |
Initializes the GLFW library. | |
GLFWAPI GLFWerrorfun | glfwSetErrorCallback (GLFWerrorfun cbfun) |
Sets the error callback. | |
GLFWAPI void | glfwTerminate (void) |
Terminates the GLFW library. | |
Variables | |
_GLFWlibrary | _glfw |
All global data protected by _glfwInitialized. This should only be touched after a call to glfwInit that has not been followed by a call to glfwTerminate. | |
static GLFWerrorfun | _glfwErrorCallback = NULL |
GLboolean | _glfwInitialized = GL_FALSE |
Flag indicating whether GLFW has been successfully initialized. |
static const char* getErrorString | ( | int | error | ) | [static] |
Definition at line 53 of file examples/third_party/glfw/src/init.c.
All global data protected by _glfwInitialized. This should only be touched after a call to glfwInit that has not been followed by a call to glfwTerminate.
Definition at line 43 of file examples/third_party/glfw/src/init.c.
GLFWerrorfun _glfwErrorCallback = NULL [static] |
Definition at line 48 of file examples/third_party/glfw/src/init.c.
GLboolean _glfwInitialized = GL_FALSE |
Flag indicating whether GLFW has been successfully initialized.
Definition at line 42 of file examples/third_party/glfw/src/init.c.