diff --git a/src/gwin/gwin_class.h b/src/gwin/gwin_class.h index 8ad884f7..d8f48980 100644 --- a/src/gwin/gwin_class.h +++ b/src/gwin/gwin_class.h @@ -61,6 +61,10 @@ typedef struct gwinVMT { } gwinVMT; /** @} */ +#ifdef __cplusplus +extern "C" { +#endif + #if GWIN_NEED_WIDGET || defined(__DOXYGEN__) /** @@ -442,6 +446,10 @@ gBool _gwinWMAdd(GHandle gh, const GWindowInit *pInit); #endif +#ifdef __cplusplus +} +#endif + #endif /* GFX_USE_GWIN */ #endif /* _CLASS_GWIN_H */