aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/ScintillaWin.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2018-04-04 16:21:09 +1000
committerNeil <nyamatongwe@gmail.com>2018-04-04 16:21:09 +1000
commit1cd26e8ee9577099631a72836197afd101aaaff5 (patch)
tree351f1315f4577970747aa37d273c2f7fd84d1883 /win32/ScintillaWin.h
parent27a277fe4bfeff302b3ad4752e59311ef6426193 (diff)
downloadscintilla-mirror-1cd26e8ee9577099631a72836197afd101aaaff5.tar.gz
Backport: Move DLL entry points DllMain and Scintilla_DirectFunction into ScintillaDLL.cxx
to simplify build process by eliminating the compilation of ScintillaWin.cxx into ScintillaWinS.o|obj. Backport of changeset 6670:cfe90078d684.
Diffstat (limited to 'win32/ScintillaWin.h')
-rw-r--r--win32/ScintillaWin.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/win32/ScintillaWin.h b/win32/ScintillaWin.h
new file mode 100644
index 000000000..6d4d2ce26
--- /dev/null
+++ b/win32/ScintillaWin.h
@@ -0,0 +1,15 @@
+// Scintilla source code edit control
+/** @file ScintillaWin.h
+ ** Define functions from ScintillaWin.cxx that can be called from ScintillaDLL.cxx.
+ **/
+// Copyright 1998-2018 by Neil Hodgson <neilh@scintilla.org>
+// The License.txt file describes the conditions under which this software may be distributed.
+
+class ScintillaWin;
+
+namespace Scintilla {
+
+int ResourcesRelease(bool fromDllMain);
+sptr_t DirectFunction(ScintillaWin *sci, UINT iMessage, uptr_t wParam, sptr_t lParam);
+
+}