From bc300649a5a14a33eb687e8085e56826a82ed2e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Pereira?= Date: Sat, 23 Mar 2019 18:41:35 +0000 Subject: [PATCH] Hiding functions inside a namespace using the glfw3cxx.h --- include/GLFW/glfw3cxx.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 include/GLFW/glfw3cxx.h diff --git a/include/GLFW/glfw3cxx.h b/include/GLFW/glfw3cxx.h new file mode 100644 index 000000000..0d81011df --- /dev/null +++ b/include/GLFW/glfw3cxx.h @@ -0,0 +1,13 @@ + + +namespace glfw +{ + namespace + { + #include"glfw3.h" + } + + GLFWAPI int (&Init)(void) = glfwInit; + GLFWAPI void (&WindowHint)(int, int) = glfwWindowHint; + +}