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

master
Joel Bodenmann 2023-07-03 16:42:03 +02:00
parent fa0c779b0c
commit e028d196f5
1 changed files with 8 additions and 0 deletions

View File

@ -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 */