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.

Functions

float _glfw_fmaxf (float a, float b)
 
float _glfw_fminf (float a, float b)
 
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)
 

Variables

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

Function Documentation

◆ _glfw_fmaxf()

float _glfw_fmaxf ( float  a,
float  b 
)

Definition at line 134 of file init.c.

◆ _glfw_fminf()

float _glfw_fminf ( float  a,
float  b 
)

Definition at line 122 of file init.c.

◆ _glfw_strdup()

char* _glfw_strdup ( const char *  source)

Definition at line 114 of file init.c.

◆ _glfwInputError()

void _glfwInputError ( int  code,
const char *  format,
  ... 
)

Definition at line 153 of file init.c.

◆ terminate()

static void terminate ( void  )
static

Definition at line 62 of file init.c.

Variable Documentation

◆ _glfw

_GLFWlibrary _glfw = { GLFW_FALSE }

Definition at line 44 of file init.c.

◆ _glfwErrorCallback

GLFWerrorfun _glfwErrorCallback
static

Definition at line 50 of file init.c.

◆ _glfwInitHints

_GLFWinitconfig _glfwInitHints
static
Initial value:
=
{
{
}
}
#define GLFW_TRUE
One.
Definition: glfw3.h:279

Definition at line 51 of file init.c.

◆ _glfwMainThreadError

_GLFWerror _glfwMainThreadError
static

Definition at line 49 of file init.c.



mvsim
Author(s):
autogenerated on Tue Jul 4 2023 03:08:22