diff --git a/oui.h b/oui.h index fc22caf..c04ffef 100644 --- a/oui.h +++ b/oui.h @@ -25,6 +25,10 @@ THE SOFTWARE. #ifndef _OUI_H_ #define _OUI_H_ +#ifdef __cplusplus +extern "C" { +#endif + /* Revision 2 (2014-07-13) @@ -584,6 +588,10 @@ OUI_EXPORT int uiGetRelToRight(int item); // or -1 if not set. OUI_EXPORT int uiGetRelToDown(int item); +#ifdef __cplusplus +}; +#endif + #endif // _OUI_H_ #ifdef OUI_IMPLEMENTATION