aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Scintilla.h
diff options
context:
space:
mode:
authornyamatongwe <unknown>2010-04-07 23:07:40 +0000
committernyamatongwe <unknown>2010-04-07 23:07:40 +0000
commit7d685049b8c0b0c1cbdaf2aa43ece8e955b8d81e (patch)
tree918fe324ab870fb98082aabe964ef89f6045de33 /include/Scintilla.h
parent11109bc1903af68690bf27bcd00376902aeaa1f3 (diff)
downloadscintilla-mirror-7d685049b8c0b0c1cbdaf2aa43ece8e955b8d81e.tar.gz
Made Scintilla.h compatible with the C language when stdbool.h not included.
Diffstat (limited to 'include/Scintilla.h')
-rw-r--r--include/Scintilla.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index 7730893d6..b91c78c2a 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -11,18 +11,14 @@
#ifndef SCINTILLA_H
#define SCINTILLA_H
-#if LCCWIN
-typedef BOOL bool;
-#endif
-
#ifdef __cplusplus
extern "C" {
#endif
#if defined(_WIN32)
/* Return false on failure: */
-bool Scintilla_RegisterClasses(void *hInstance);
-bool Scintilla_ReleaseResources();
+int Scintilla_RegisterClasses(void *hInstance);
+int Scintilla_ReleaseResources();
#endif
int Scintilla_LinkLexers();