aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2014-06-30 14:27:33 +0200
committerJoel Bodenmann <joel@unormal.org>2014-06-30 14:27:33 +0200
commitbd68d6a00a5e9092a05d736916ebbdafe8b31f5b (patch)
treedf311fc2778e56804c712042b5e95bcb75300f15 /src
parent5c13e08e76ae1d75240e1e8e46d1e9c3a8ba50cd (diff)
downloaduGFX-bd68d6a00a5e9092a05d736916ebbdafe8b31f5b.tar.gz
uGFX-bd68d6a00a5e9092a05d736916ebbdafe8b31f5b.tar.bz2
uGFX-bd68d6a00a5e9092a05d736916ebbdafe8b31f5b.zip
checkbox c++ fix
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 */
/** @} */