diff options
-rw-r--r-- | include/Scintilla.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h index 16d2d6910..b5b14678f 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -15,6 +15,10 @@ typedef BOOL bool; #endif +#ifdef __cplusplus +extern "C" { +#endif + #if PLAT_WIN /* Return false on failure: */ bool Scintilla_RegisterClasses(void *hInstance); @@ -22,6 +26,10 @@ bool Scintilla_ReleaseResources(); #endif int Scintilla_LinkLexers(); +#ifdef __cplusplus +} +#endif + /* Here should be placed typedefs for uptr_t, an unsigned integer type large enough to * hold a pointer and sptr_t, a signed integer large enough to hold a pointer. * May need to be changed for 64 bit platforms. */ |