summaryrefslogtreecommitdiff
path: root/new/uipriv_darwin.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-09 11:54:02 -0400
committerPietro Gagliardi <[email protected]>2015-04-09 11:54:02 -0400
commit67bfe61c933de7c241bc646008b757e3871be906 (patch)
treeefeef141e6adc3f75e1587bb2f11c4b18e240ba6 /new/uipriv_darwin.h
parentb5eea413c496d40838af258e533e514212081909 (diff)
Implemented the text functions on OS X.
Diffstat (limited to 'new/uipriv_darwin.h')
-rw-r--r--new/uipriv_darwin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/new/uipriv_darwin.h b/new/uipriv_darwin.h
index 1205d81..5a48fca 100644
--- a/new/uipriv_darwin.h
+++ b/new/uipriv_darwin.h
@@ -6,6 +6,7 @@
#import "ui_darwin.h"
#define toNSString(str) [NSString stringWithUTF8String:(str)]
+#define fromNSString(str) [(str) UTF8String]
// TODO move this to the right place
struct uiSizing {