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:45:03 +1000 |
commit | 9f720b1f122ffc7986cc467ef1a7607000c6b491 (patch) | |
tree | 8c705daa534b9aad707ea72e5056b7b151af92a3 /src/gdisp | |
parent | 4886403bc682d0ea921b0e007c427f29973fa915 (diff) | |
download | uGFX-9f720b1f122ffc7986cc467ef1a7607000c6b491.tar.gz uGFX-9f720b1f122ffc7986cc467ef1a7607000c6b491.tar.bz2 uGFX-9f720b1f122ffc7986cc467ef1a7607000c6b491.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] = {{ |