diff options
| author | Pietro Gagliardi <[email protected]> | 2015-04-09 22:38:11 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-04-09 22:38:11 -0400 |
| commit | 50a227058a8d72f1fb885458b882cedb0e0d7f79 (patch) | |
| tree | c68e86810a6036645278b707430532d9f767c7cc /new/ui.h | |
| parent | d9315e6d8f528840dd396fbbeb96cb22c8a5df98 (diff) | |
Changed the allocation logging from a compile-time setting to the first initialization option.
Diffstat (limited to 'new/ui.h')
| -rw-r--r-- | new/ui.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 *); |
