aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_gl.h
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/pugl_gl.h')
-rw-r--r--pugl/pugl_gl.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/pugl/pugl_gl.h b/pugl/pugl_gl.h
index a13cba2..7031013 100644
--- a/pugl/pugl_gl.h
+++ b/pugl/pugl_gl.h
@@ -23,9 +23,7 @@
#include "pugl/pugl.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
+PUGL_BEGIN_DECLS
/**
@defgroup gl OpenGL
@@ -53,9 +51,7 @@ puglGetProcAddress(const char* name);
PUGL_API const PuglBackend*
puglGlBackend(void);
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
+PUGL_END_DECLS
/**
@}