diff options
| author | Pietro Gagliardi <[email protected]> | 2015-04-10 16:54:06 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-04-10 16:54:06 -0400 |
| commit | d326407f05cadec6422fe3ccbcfcaf41a869dfde (patch) | |
| tree | 0b1de9537d95626a8fe6bc7fe59ca7bc3294b962 /new/ui.h | |
| parent | e49f6f7da880e984400966d1985b1e7103535ee6 (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.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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); |
