aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gwin/checkbox.h8
1 files changed, 8 insertions, 0 deletions
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 */
/** @} */