Update JoeyLib Definitions

Scott Duensing 2019-10-17 17:55:48 -05:00
parent 0d2d494d54
commit 19a95b5413

@ -1,5 +1,5 @@
#### JOEY_DEBUG #### JOEY_DEBUG
If defined in `joey.h`, enables several debugging functions. JoeyLib memory management operations will be double-checked and tracked. In addition, after the program exits, JoeyLib will generate a file named `JLSTATS` containing allocation statistics and the contents of `why` that was passed to `jlDie()`. Recommended to use this when bracketing debug code in your apps that use JoeyLib. If defined in `joey.h`, enables several debugging functions. JoeyLib memory management operations will be double-checked and tracked. In addition, after the program exits, JoeyLib will generate a file named `JLSTATS` containing allocation statistics and the contents of `why` that was passed to `jlUtilDie()`. Recommended to use this when bracketing debug code in your apps that use JoeyLib.
#### JOEY_MEM_BLOCKS #### JOEY_MEM_BLOCKS
In `joey.h` this controls how many concurrent allocations the JoeyLib memory debugging routines will track. If you receive an error about being out of blocks, increase this value. A fixed number of memory block entries is currently used instead of re-implementing the stack code without JoeyLib. In `joey.h` this controls how many concurrent allocations the JoeyLib memory debugging routines will track. If you receive an error about being out of blocks, increase this value. A fixed number of memory block entries is currently used instead of re-implementing the stack code without JoeyLib.