diff options
| author | Pietro Gagliardi <[email protected]> | 2015-04-06 20:01:14 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-04-06 20:01:14 -0400 |
| commit | 685844c5940dab356c348c51ceee29954305ec8b (patch) | |
| tree | 8516bcb1633a22a3f041af2d2df0a2115a2b5328 /new/ui_darwin.h | |
| parent | e4d6d11925e7da8eb8b6c2960ddff88245b876ff (diff) | |
Fixed initial Mac OS X code.
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); |
