Functions | Variables
init.c File Reference
#include "internal.h"
#include "mappings.h"
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <assert.h>
Include dependency graph for init.c:

Go to the source code of this file.


char * _glfw_strdup (const char *source)
void _glfwInputError (int code, const char *format,...)
GLFWAPI int glfwGetError (const char **description)
 Returns and clears the last error for the calling thread. More...
GLFWAPI void glfwGetVersion (int *major, int *minor, int *rev)
 Retrieves the version of the GLFW library. More...
GLFWAPI const char * glfwGetVersionString (void)
 Returns a string describing the compile-time configuration. More...
GLFWAPI int glfwInit (void)
 Initializes the GLFW library. More...
GLFWAPI void glfwInitHint (int hint, int value)
 Sets the specified init hint to the desired value. More...
GLFWAPI GLFWerrorfun glfwSetErrorCallback (GLFWerrorfun cbfun)
 Sets the error callback. More...
GLFWAPI void glfwTerminate (void)
 Terminates the GLFW library. More...
static void terminate (void)


_GLFWlibrary _glfw = { GLFW_FALSE }
static GLFWerrorfun _glfwErrorCallback
static _GLFWinitconfig _glfwInitHints
static _GLFWerror _glfwMainThreadError

Function Documentation

char* _glfw_strdup ( const char *  source)

Definition at line 114 of file init.c.

void _glfwInputError ( int  code,
const char *  format,

Definition at line 129 of file init.c.

static void terminate ( void  )

Definition at line 62 of file init.c.

Variable Documentation

_GLFWlibrary _glfw = { GLFW_FALSE }

Definition at line 44 of file init.c.

GLFWerrorfun _glfwErrorCallback

Definition at line 50 of file init.c.

_GLFWinitconfig _glfwInitHints
Initial value:
#define GLFW_TRUE
Definition: glfw3.h:279

Definition at line 51 of file init.c.

_GLFWerror _glfwMainThreadError

Definition at line 49 of file init.c.

Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:26