diff options
author | inmarket <andrewh@inmarket.com.au> | 2014-09-25 17:43:05 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2014-09-25 17:43:05 +1000 |
commit | 6b9ff5de2a2ddf1056e00b7590f936779c56b517 (patch) | |
tree | 9d8be9d0f74c58bffc3969dcffbb949243b04748 /src/gdisp | |
parent | 5ee4290941f5445649403a84f3f0e9d5bf48b9e2 (diff) | |
download | uGFX-6b9ff5de2a2ddf1056e00b7590f936779c56b517.tar.gz uGFX-6b9ff5de2a2ddf1056e00b7590f936779c56b517.tar.bz2 uGFX-6b9ff5de2a2ddf1056e00b7590f936779c56b517.zip |
C decls on GDISP functions
Diffstat (limited to 'src/gdisp')
-rw-r--r-- | src/gdisp/driver.h | 12 |
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] = {{ |