From bd68d6a00a5e9092a05d736916ebbdafe8b31f5b Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Mon, 30 Jun 2014 14:27:33 +0200 Subject: [PATCH] checkbox c++ fix --- src/gwin/checkbox.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/gwin/checkbox.h b/src/gwin/checkbox.h index c124078e..2b1fb801 100644 --- a/src/gwin/checkbox.h +++ b/src/gwin/checkbox.h @@ -48,6 +48,10 @@ typedef struct GCheckboxObject { #endif } GCheckboxObject; +#ifdef __cplusplus +extern "C" { +#endif + /** * @brief Create a checkbox window. * @return NULL if there is no resultant drawing area, otherwise a window handle. @@ -111,6 +115,10 @@ void gwinCheckboxDraw_CheckOnLeft(GWidgetObject *gw, void *param); void gwinCheckboxDraw_CheckOnRight(GWidgetObject *gw, void *param); /** @} */ +#ifdef __cplusplus +} +#endif + #endif /* _GWIN_CHECKBOX_H */ /** @} */