diff options
Diffstat (limited to 'new/ui_darwin.h')
| -rw-r--r-- | new/ui_darwin.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/new/ui_darwin.h b/new/ui_darwin.h index 60826e4..159939c 100644 --- a/new/ui_darwin.h +++ b/new/ui_darwin.h @@ -8,6 +8,8 @@ #import <Cocoa/Cocoa.h> #import "ui.h" +#define toNSString(str) [NSString stringWithUTF8String:(str)] + // alloc_darwin.m extern void *uiAlloc(size_t); extern void *uiRealloc(void *, size_t); |
