aboutsummaryrefslogtreecommitdiff
path: root/pugl/detail/implementation.h
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/detail/implementation.h')
-rw-r--r--pugl/detail/implementation.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/pugl/detail/implementation.h b/pugl/detail/implementation.h
index b1ff264..a6914fc 100644
--- a/pugl/detail/implementation.h
+++ b/pugl/detail/implementation.h
@@ -27,9 +27,7 @@
#include <stddef.h>
#include <stdint.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
+PUGL_BEGIN_DECLS
/** Set `blob` to `data` with length `len`, reallocating if necessary. */
void puglSetBlob(PuglBlob* dest, const void* data, size_t len);
@@ -66,8 +64,6 @@ puglSetInternalClipboard(PuglView* view,
const void* data,
size_t len);
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
+PUGL_END_DECLS
#endif // PUGL_DETAIL_IMPLEMENTATION_H