Closed Kuranes closed 2 years ago
In previous code if some memory tool did a
it would conflict and not compile. Sadly some memory checker tools integration requires it For instance visual studio _CRTDBG_MAP_ALLOC (https://docs.microsoft.com/en-us/visualstudio/debugger/finding-memory-leaks-using-the-crt-library?view=vs-2022)
In previous code if some memory tool did a
define free(A) free_dbg(A, stuff...)
it would conflict and not compile. Sadly some memory checker tools integration requires it For instance visual studio _CRTDBG_MAP_ALLOC (https://docs.microsoft.com/en-us/visualstudio/debugger/finding-memory-leaks-using-the-crt-library?view=vs-2022)