From 518a5ddbf15d50a254c732a80d5907ef8878abe0 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 15 Apr 2015 18:49:45 -0400 Subject: Split all OS backends into their own folders. --- new/text_darwin.m | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 new/text_darwin.m (limited to 'new/text_darwin.m') diff --git a/new/text_darwin.m b/new/text_darwin.m deleted file mode 100644 index f0d3dab..0000000 --- a/new/text_darwin.m +++ /dev/null @@ -1,19 +0,0 @@ -// 10 april 2015 -#import "uipriv_darwin.h" - -char *uiDarwinNSStringToText(NSString *s) -{ - char *out; - - out = strdup([s UTF8String]); - if (out == NULL) { - fprintf(stderr, "memory exhausted in uiDarwinNSStringToText()\n"); - abort(); - } - return out; -} - -void uiFreeText(char *s) -{ - free(s); -} -- cgit v1.2.3