diff options
| author | Pietro Gagliardi <[email protected]> | 2018-08-12 10:24:24 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2018-08-12 10:24:24 -0400 |
| commit | cfea745dc745dcb0af8704d7cdb50d9725714b04 (patch) | |
| tree | 08b0f37d5fd7379bb2c55a2f5a703d4d8498e640 /datetimepicker.go | |
| parent | 8d43eb52cef37f870c469224b30ea23bec48c3f1 (diff) | |
Migrated util.go back and formalized pkguiAlloc().
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" |
