diff options
Diffstat (limited to 'datetimepicker.go')
| -rw-r--r-- | datetimepicker.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/datetimepicker.go b/datetimepicker.go index 0859a32..6e64e34 100644 --- a/datetimepicker.go +++ b/datetimepicker.go @@ -10,10 +10,10 @@ import ( // #include <stdlib.h> // #include <time.h> // #include "ui.h" +// #include "util.h" // static inline struct tm *allocTimeStruct(void) // { -// /* TODO handle error */ -// return (struct tm *) malloc(sizeof (struct tm)); +// return (struct tm *) pkguiAlloc(sizeof (struct tm)); // } // extern void doDateTimePickerOnChanged(uiDateTimePicker *, void *); import "C" |
