From d326407f05cadec6422fe3ccbcfcaf41a869dfde Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Fri, 10 Apr 2015 16:54:06 -0400 Subject: Decided to kill uiInitError and return the message as a const char * instead. Will need to implement on Windows. --- new/ui.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'new/ui.h') diff --git a/new/ui.h b/new/ui.h index a692585..0625bd0 100644 --- a/new/ui.h +++ b/new/ui.h @@ -5,7 +5,6 @@ #include -typedef struct uiInitError uiInitError; typedef struct uiInitOptions uiInitOptions; // TODO note that should be initialized to zero @@ -17,9 +16,8 @@ struct uiInitOptions { int debugLogAllocations; }; -uiInitError *uiInit(uiInitOptions *); -const char *uiInitErrorMessage(uiInitError *); -void uiInitErrorFree(uiInitError *); +const char *uiInit(uiInitOptions *); +void uiFreeInitError(const char *); void uiMain(void); void uiQuit(void); -- cgit v1.2.3