aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/PlatCocoa.h
diff options
context:
space:
mode:
authorNeil Hodgson <nyamatongwe@gmail.com>2023-02-27 17:47:53 +1100
committerNeil Hodgson <nyamatongwe@gmail.com>2023-02-27 17:47:53 +1100
commitf7866f75ffb28e3831358adfd4bb20a4c6633467 (patch)
treecf488ec56e53bcb0b688327643022de658aad1c2 /cocoa/PlatCocoa.h
parente76fbd3f9ba742a1ef789ae215d9a71f9e27ad17 (diff)
downloadscintilla-mirror-f7866f75ffb28e3831358adfd4bb20a4c6633467.tar.gz
Define argument as const so can be used on const values.
Diffstat (limited to 'cocoa/PlatCocoa.h')
-rw-r--r--cocoa/PlatCocoa.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cocoa/PlatCocoa.h b/cocoa/PlatCocoa.h
index d63ad63c6..536d3bcf9 100644
--- a/cocoa/PlatCocoa.h
+++ b/cocoa/PlatCocoa.h
@@ -25,7 +25,7 @@
#include "QuartzTextLayout.h"
NSRect PRectangleToNSRect(const Scintilla::Internal::PRectangle &rc);
-Scintilla::Internal::PRectangle NSRectToPRectangle(NSRect &rc);
+Scintilla::Internal::PRectangle NSRectToPRectangle(const NSRect &rc);
CFStringEncoding EncodingFromCharacterSet(bool unicode, Scintilla::CharacterSet characterSet);
@interface ScintillaContextMenu : NSMenu {