summaryrefslogtreecommitdiff
path: root/new/ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'new/ui.h')
-rw-r--r--new/ui.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/new/ui.h b/new/ui.h
index 9bf8601..7013a36 100644
--- a/new/ui.h
+++ b/new/ui.h
@@ -8,6 +8,15 @@
typedef struct uiInitError uiInitError;
typedef struct uiInitOptions uiInitOptions;
+// TODO note that should be initialized to zero
+struct uiInitOptions {
+ // TODO cbSize
+
+ // If nonzero, allocations will be logged to stderr.
+ // See leaks.awk.
+ int debugLogAllocations;
+};
+
uiInitError *uiInit(uiInitOptions *);
const char *uiInitErrorMessage(uiInitError *);
void uiInitErrorFree(uiInitError *);