summaryrefslogtreecommitdiff
path: root/new/ui.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-10 16:54:06 -0400
committerPietro Gagliardi <[email protected]>2015-04-10 16:54:06 -0400
commitd326407f05cadec6422fe3ccbcfcaf41a869dfde (patch)
tree0b1de9537d95626a8fe6bc7fe59ca7bc3294b962 /new/ui.h
parente49f6f7da880e984400966d1985b1e7103535ee6 (diff)
Decided to kill uiInitError and return the message as a const char * instead. Will need to implement on Windows.
Diffstat (limited to 'new/ui.h')
-rw-r--r--new/ui.h6
1 files changed, 2 insertions, 4 deletions
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 <stdint.h>
-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);