aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Scintilla.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2021-06-17 09:28:05 +1000
committerNeil <nyamatongwe@gmail.com>2021-06-17 09:28:05 +1000
commit9e52243831ceffced1e9f0ef27041770fe13a85a (patch)
treea14b3f24127e77c4c28e16e0b81e0a5dac929e2c /include/Scintilla.h
parent37edcd47eed457d80e353bccfe9e601578ccca33 (diff)
downloadscintilla-mirror-9e52243831ceffced1e9f0ef27041770fe13a85a.tar.gz
Add SciFnDirectStatus, a direct access function which also returns status so can
improve performance for client code that called SCI_GETSTATUS after every API to check for failure.
Diffstat (limited to 'include/Scintilla.h')
-rw-r--r--include/Scintilla.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index de96d81d8..a92b51684 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -36,6 +36,7 @@ typedef intptr_t sptr_t;
#include "Sci_Position.h"
typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, sptr_t lParam);
+typedef sptr_t (*SciFnDirectStatus)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, sptr_t lParam, int *pStatus);
#ifndef SCI_DISABLE_AUTOGENERATED
@@ -497,6 +498,7 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam,
#define SCI_GETTEXT 2182
#define SCI_GETTEXTLENGTH 2183
#define SCI_GETDIRECTFUNCTION 2184
+#define SCI_GETDIRECTSTATUSFUNCTION 2772
#define SCI_GETDIRECTPOINTER 2185
#define SCI_SETOVERTYPE 2186
#define SCI_GETOVERTYPE 2187