aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-09-25 17:43:05 +1000
committerinmarket <andrewh@inmarket.com.au>2014-09-25 17:43:05 +1000
commit6b9ff5de2a2ddf1056e00b7590f936779c56b517 (patch)
tree9d8be9d0f74c58bffc3969dcffbb949243b04748 /src
parent5ee4290941f5445649403a84f3f0e9d5bf48b9e2 (diff)
downloaduGFX-6b9ff5de2a2ddf1056e00b7590f936779c56b517.tar.gz
uGFX-6b9ff5de2a2ddf1056e00b7590f936779c56b517.tar.bz2
uGFX-6b9ff5de2a2ddf1056e00b7590f936779c56b517.zip
C decls on GDISP functions
Diffstat (limited to 'src')
-rw-r--r--src/gdisp/driver.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/gdisp/driver.h b/src/gdisp/driver.h
index f8d66f4b..98bf64fc 100644
--- a/src/gdisp/driver.h
+++ b/src/gdisp/driver.h
@@ -617,9 +617,15 @@ typedef struct GDISPVMT {
#endif
// Routines needed by the general driver VMT
- bool_t _gdispInitDriver(GDriver *g, unsigned driverinstance, unsigned systeminstance);
- void _gdispPostInitDriver(GDriver *g);
- void _gdispDeInitDriver(GDriver *g);
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
+ bool_t _gdispInitDriver(GDriver *g, unsigned driverinstance, unsigned systeminstance);
+ void _gdispPostInitDriver(GDriver *g);
+ void _gdispDeInitDriver(GDriver *g);
+ #ifdef __cplusplus
+ }
+ #endif
// Build the VMT
const GDISPVMT const GDISP_DRIVER_VMT[1] = {{