aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_stub.h
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/pugl_stub.h')
-rw-r--r--pugl/pugl_stub.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/pugl/pugl_stub.h b/pugl/pugl_stub.h
index 3ecc2b4..a99eb4a 100644
--- a/pugl/pugl_stub.h
+++ b/pugl/pugl_stub.h
@@ -23,9 +23,7 @@
#include "pugl/pugl.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
+PUGL_BEGIN_DECLS
/**
@defgroup stub Stub
@@ -109,8 +107,6 @@ puglStubGetContext(PuglView* view)
@}
*/
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
+PUGL_END_DECLS
#endif // PUGL_PUGL_STUB_H