Functions | Variables
examples/third_party/glfw/src/init.c File Reference
#include "internal.h"
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
Include dependency graph for examples/third_party/glfw/src/init.c:

Go to the source code of this file.

Functions

void _glfwInputError (int error, const char *format,...)
 Notifies shared code of an error. More...
 
static const char * getErrorString (int error)
 
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 GLFWerrorfun glfwSetErrorCallback (GLFWerrorfun cbfun)
 Sets the error callback. More...
 
GLFWAPI void glfwTerminate (void)
 Terminates the GLFW library. More...
 

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. More...
 
static GLFWerrorfun _glfwErrorCallback = NULL
 
GLboolean _glfwInitialized = GL_FALSE
 Flag indicating whether GLFW has been successfully initialized. More...
 

Function Documentation

static const char* getErrorString ( int  error)
static

Definition at line 53 of file examples/third_party/glfw/src/init.c.

Variable Documentation

_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.

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.



librealsense
Author(s): Sergey Dorodnicov , Mark Horn , Reagan Lopez
autogenerated on Fri Mar 13 2020 03:16:18