Hiding functions inside a namespace using the glfw3cxx.h

This commit is contained in:
João Pereira 2019-03-23 18:41:35 +00:00
parent 8055dad7e4
commit bc300649a5

13
include/GLFW/glfw3cxx.h Normal file
View File

@ -0,0 +1,13 @@
namespace glfw
{
namespace
{
#include"glfw3.h"
}
GLFWAPI int (&Init)(void) = glfwInit;
GLFWAPI void (&WindowHint)(int, int) = glfwWindowHint;
}