quick & dirty leak checker
This commit is contained in:
@ -327,6 +327,8 @@ extern int stb_vorbis_get_samples_short(stb_vorbis *f, int channels, short **buf
|
||||
|
||||
#endif
|
||||
|
||||
extern void stb_vorbis_free(void *p);
|
||||
|
||||
//////// ERROR CODES
|
||||
|
||||
enum STBVorbisError
|
||||
@ -592,6 +594,11 @@ typedef float codetype;
|
||||
typedef uint16 codetype;
|
||||
#endif
|
||||
|
||||
//#define STB_LEAKCHECK_IMPLEMENTATION
|
||||
//#define STB_LEAKCHECK_SHOWALL
|
||||
//#include "stb_leakcheck.h"
|
||||
//void stb_vorbis_dumpmem(void) { stb_leakcheck_dumpmem(); }
|
||||
|
||||
// @NOTE
|
||||
//
|
||||
// Some arrays below are tagged "//varies", which means it's actually
|
||||
|
Reference in New Issue
Block a user