diff options
author | mburakov <mburakov@mailbox.org> | 2020-10-31 16:46:39 +0100 |
---|---|---|
committer | mburakov <mburakov@mailbox.org> | 2020-10-31 16:46:39 +0100 |
commit | f65e4f5502d88125f145dc257ec7a012e08dd6d6 (patch) | |
tree | b877dde52374910f7416e953567fbc70bff90425 | |
parent | 1fde371303772cda5ca81a619e8e5a6a5868766a (diff) |
Add c++ guard to pui header
-rw-r--r-- | pui.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -18,9 +18,17 @@ #ifndef PUI_PUI_H_ #define PUI_PUI_H_ +#ifdef __cplusplus +extern "C" { +#endif // __cplusplus + int PuiGetWidth(const void* pui_data); int PuiGetHeight(const void* pui_data); int PuiHitTest(const void* pui_data, int x, int y); void PuiRender(const void* pui_data, void* buffer, int stride, int active); +#ifdef __cplusplus +} +#endif // __cplusplus + #endif // PUI_PUI_H_ |