summaryrefslogtreecommitdiff
path: root/draw.go
diff options
context:
space:
mode:
Diffstat (limited to 'draw.go')
-rw-r--r--draw.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/draw.go b/draw.go
index 5468b19..bc1971e 100644
--- a/draw.go
+++ b/draw.go
@@ -4,12 +4,13 @@ package ui
// #include <stdlib.h>
// #include "ui.h"
+// // TODO figure this one out
+// extern void *uimalloc(size_t);
// static uiDrawBrush *newBrush(void)
// {
// uiDrawBrush *b;
//
-// b = (uiDrawBrush *) malloc(sizeof (uiDrawBrush));
-// // TODO
+// b = (uiDrawBrush *) uimalloc(sizeof (uiDrawBrush));
// return b;
// }
// static uiDrawBrushGradientStop *newStops(size_t n)