summaryrefslogtreecommitdiff
path: root/new/darwin/text.m
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-16 20:33:28 -0400
committerPietro Gagliardi <[email protected]>2015-04-16 20:33:28 -0400
commite34c561ed5bedeb180437ec165882b98d70d38c1 (patch)
treed095e5db16d7a23e883526c8c1d3c524639c97cf /new/darwin/text.m
parentde9d72299fb89a8b6cdc8963cd6b6ae708a81e80 (diff)
Split the rewrite into a new repository.
Diffstat (limited to 'new/darwin/text.m')
-rw-r--r--new/darwin/text.m19
1 files changed, 0 insertions, 19 deletions
diff --git a/new/darwin/text.m b/new/darwin/text.m
deleted file mode 100644
index f0d3dab..0000000
--- a/new/darwin/text.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);
-}