aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_cairo.h
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/pugl_cairo.h')
-rw-r--r--pugl/pugl_cairo.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/pugl/pugl_cairo.h b/pugl/pugl_cairo.h
index 34c82c9..c289c16 100644
--- a/pugl/pugl_cairo.h
+++ b/pugl/pugl_cairo.h
@@ -23,9 +23,7 @@
#include "pugl/pugl.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
+PUGL_BEGIN_DECLS
/**
@defgroup cairo Cairo
@@ -46,8 +44,6 @@ puglCairoBackend(void);
@}
*/
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
+PUGL_END_DECLS
#endif // PUGL_PUGL_CAIRO_H