ig-memtrace
ig-memtrace copied to clipboard
Add default (empty) definitions when MEMTRACE_ENABLE is false
trafficstars
We have been using memtrace a bit and one thing would be nice is...
When MEMTRACE_ENABLE is false, that the functions are defined to be empty (HeapCreate can just return 0); That way we don't have to litter ifdefs in code when disabling memtrace, it just compiles out.
Would you be opposed to a PR with that 'functionality' added ?