diff options
| author | Neil <nyamatongwe@gmail.com> | 2021-06-17 09:28:05 +1000 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2021-06-17 09:28:05 +1000 |
| commit | 9e52243831ceffced1e9f0ef27041770fe13a85a (patch) | |
| tree | a14b3f24127e77c4c28e16e0b81e0a5dac929e2c /cocoa/ScintillaCocoa.h | |
| parent | 37edcd47eed457d80e353bccfe9e601578ccca33 (diff) | |
| download | scintilla-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 'cocoa/ScintillaCocoa.h')
| -rw-r--r-- | cocoa/ScintillaCocoa.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cocoa/ScintillaCocoa.h b/cocoa/ScintillaCocoa.h index 40c389f5f..00a0fbc03 100644 --- a/cocoa/ScintillaCocoa.h +++ b/cocoa/ScintillaCocoa.h @@ -189,6 +189,7 @@ public: std::string EncodedFromUTF8(std::string_view utf8) const override; static sptr_t DirectFunction(sptr_t ptr, unsigned int iMessage, uptr_t wParam, sptr_t lParam); + static sptr_t DirectStatusFunction(sptr_t ptr, unsigned int iMessage, uptr_t wParam, sptr_t lParam, int *pStatus); NSTimer *timers[static_cast<size_t>(TickReason::platform)+1]; void TimerFired(NSTimer *timer); |
