diff --git a/test/main.c b/test/main.c index b24392f0..f59af288 100644 --- a/test/main.c +++ b/test/main.c @@ -75,5 +75,6 @@ int main(int argc, char *argv[]) uiControlShow(uiControl(w)); uiMain(); printf("after uiMain()\n"); + uiUninit(); return 0; } diff --git a/ui.idl b/ui.idl index ce03ea6b..8b442408 100644 --- a/ui.idl +++ b/ui.idl @@ -18,6 +18,7 @@ struct InitOptions { }; func Init(options *InitOptions) *const char; +func Uninit(void); func FreeInitError(err *const char); func Main(void);