diff options
author | nyamatongwe <unknown> | 2010-04-07 23:07:40 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2010-04-07 23:07:40 +0000 |
commit | 7d685049b8c0b0c1cbdaf2aa43ece8e955b8d81e (patch) | |
tree | 918fe324ab870fb98082aabe964ef89f6045de33 /win32/ScintillaWin.cxx | |
parent | 11109bc1903af68690bf27bcd00376902aeaa1f3 (diff) | |
download | scintilla-mirror-7d685049b8c0b0c1cbdaf2aa43ece8e955b8d81e.tar.gz |
Made Scintilla.h compatible with the C language when stdbool.h not included.
Diffstat (limited to 'win32/ScintillaWin.cxx')
-rw-r--r-- | win32/ScintillaWin.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index f5eafc79f..6249f21b8 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -2682,7 +2682,7 @@ sptr_t PASCAL ScintillaWin::SWndProc( // This function is externally visible so it can be called from container when building statically. // Must be called once only. -bool Scintilla_RegisterClasses(void *hInstance) { +int Scintilla_RegisterClasses(void *hInstance) { Platform_Initialise(hInstance); bool result = ScintillaWin::Register(reinterpret_cast<HINSTANCE>(hInstance)); #ifdef SCI_LEXER @@ -2692,7 +2692,7 @@ bool Scintilla_RegisterClasses(void *hInstance) { } // This function is externally visible so it can be called from container when building statically. -bool Scintilla_ReleaseResources() { +int Scintilla_ReleaseResources() { bool result = ScintillaWin::Unregister(); Platform_Finalise(); return result; |