1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-30 05:58:52 -05:00

Moved the type declarations.

This commit is contained in:
Camilla Berglund 2012-04-22 21:49:38 +02:00
parent 21e77fe1a6
commit 1a99827432

View File

@ -51,6 +51,17 @@
#define GLFW_STICK 2 #define GLFW_STICK 2
//========================================================================
// Internal type declarations
//========================================================================
typedef struct _GLFWhints _GLFWhints;
typedef struct _GLFWwndconfig _GLFWwndconfig;
typedef struct _GLFWfbconfig _GLFWfbconfig;
typedef struct _GLFWwindow _GLFWwindow;
typedef struct _GLFWlibrary _GLFWlibrary;
//------------------------------------------------------------------------ //------------------------------------------------------------------------
// Platform specific definitions goes in platform.h (which also includes // Platform specific definitions goes in platform.h (which also includes
// glfw.h) // glfw.h)
@ -75,12 +86,6 @@
#error "No supported platform selected" #error "No supported platform selected"
#endif #endif
typedef struct _GLFWhints _GLFWhints;
typedef struct _GLFWwndconfig _GLFWwndconfig;
typedef struct _GLFWfbconfig _GLFWfbconfig;
typedef struct _GLFWwindow _GLFWwindow;
typedef struct _GLFWlibrary _GLFWlibrary;
//------------------------------------------------------------------------ //------------------------------------------------------------------------
// Window hints, set by glfwOpenWindowHint and consumed by glfwOpenWindow // Window hints, set by glfwOpenWindowHint and consumed by glfwOpenWindow