From 766f9ed028c757561b99e4ed5aa487d381fe80a3 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 26 Aug 2018 10:19:10 -0400 Subject: Migrated util.go and main.go to the new pkgui convention and C file. Also replaced C.CBytes() with C.malloc() (this bumps our minimum version requirement to 1.8, but it's better than keeping a massive slice around at all times). --- pkgui.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 pkgui.h (limited to 'pkgui.h') diff --git a/pkgui.h b/pkgui.h new file mode 100644 index 0000000..2af5f2b --- /dev/null +++ b/pkgui.h @@ -0,0 +1,9 @@ +// 12 august 2018 +#include +#include "ui.h" + +// main.go +extern uiInitOptions *pkguiAllocInitOptions(void); +extern void pkguiFreeInitOptions(uiInitOptions *o); +extern void pkguiQueueMain(uintptr_t n); +extern void pkguiOnShouldQuit(void); -- cgit v1.2.3