mirror of
https://github.com/glfw/glfw.git
synced 2025-10-04 13:46:37 +00:00
Hiding functions inside a namespace using the glfw3cxx.h
This commit is contained in:
parent
8055dad7e4
commit
bc300649a5
13
include/GLFW/glfw3cxx.h
Normal file
13
include/GLFW/glfw3cxx.h
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
|
||||||
|
|
||||||
|
namespace glfw
|
||||||
|
{
|
||||||
|
namespace
|
||||||
|
{
|
||||||
|
#include"glfw3.h"
|
||||||
|
}
|
||||||
|
|
||||||
|
GLFWAPI int (&Init)(void) = glfwInit;
|
||||||
|
GLFWAPI void (&WindowHint)(int, int) = glfwWindowHint;
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user