diff options
author | David Robillard <d@drobilla.net> | 2020-02-29 20:02:27 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-03-01 20:32:24 +0100 |
commit | 56bdfc8c7827cfc2ebf151553a23bdeea55883a6 (patch) | |
tree | fb4b9e78cc944b304eaeffdd46f0d54a27d26902 /pugl/pugl_stub.h | |
parent | 1950f1e8dc21f5987d2e8a81a16e491933e99830 (diff) | |
download | pugl-56bdfc8c7827cfc2ebf151553a23bdeea55883a6.tar.gz pugl-56bdfc8c7827cfc2ebf151553a23bdeea55883a6.tar.bz2 pugl-56bdfc8c7827cfc2ebf151553a23bdeea55883a6.zip |
Add PUGL_BEGIN_DECLS and PUGL_END_DECLS macros
Just to keep the C++ noise out of the headers.
Diffstat (limited to 'pugl/pugl_stub.h')
-rw-r--r-- | pugl/pugl_stub.h | 8 |
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 |