gwin: add extern C to make usable from C++

This commit is contained in:
Joel Bodenmann 2023-07-03 16:42:03 +02:00
parent fa0c779b0c
commit e028d196f5

View File

@ -61,6 +61,10 @@ typedef struct gwinVMT {
} gwinVMT; } gwinVMT;
/** @} */ /** @} */
#ifdef __cplusplus
extern "C" {
#endif
#if GWIN_NEED_WIDGET || defined(__DOXYGEN__) #if GWIN_NEED_WIDGET || defined(__DOXYGEN__)
/** /**
@ -442,6 +446,10 @@ gBool _gwinWMAdd(GHandle gh, const GWindowInit *pInit);
#endif #endif
#ifdef __cplusplus
}
#endif
#endif /* GFX_USE_GWIN */ #endif /* GFX_USE_GWIN */
#endif /* _CLASS_GWIN_H */ #endif /* _CLASS_GWIN_H */