gwin: add extern C to make usable from C++
This commit is contained in:
parent
fa0c779b0c
commit
e028d196f5
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user