diff options
Diffstat (limited to 'new/uipriv_darwin.h')
| -rw-r--r-- | new/uipriv_darwin.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/new/uipriv_darwin.h b/new/uipriv_darwin.h index c613810..3c9c731 100644 --- a/new/uipriv_darwin.h +++ b/new/uipriv_darwin.h @@ -7,8 +7,14 @@ #define toNSString(str) [NSString stringWithUTF8String:(str)] +// TODO move this to the right place +struct uiSizing { +}; + // alloc_darwin.m extern void *uiAlloc(size_t); +// TODO use this in existing files +#define uiNew(T) ((T *) uiAlloc(sizeof (T))) extern void *uiRealloc(void *, size_t); extern void uiFree(void *); |
