diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-15 00:32:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-15 00:32:07 +0300 |
commit | 57288890689bfa2c2d35882169a539813be621f1 (patch) | |
tree | 8c2886837e997d073906cb85aee38c9d77a8069b /src/utils/physfsrwops.h | |
parent | 53947c9d39440424dcf815ea5df130e833457437 (diff) | |
download | manaplus-57288890689bfa2c2d35882169a539813be621f1.tar.gz manaplus-57288890689bfa2c2d35882169a539813be621f1.tar.bz2 manaplus-57288890689bfa2c2d35882169a539813be621f1.tar.xz manaplus-57288890689bfa2c2d35882169a539813be621f1.zip |
add RWops leaks reporting.
Diffstat (limited to 'src/utils/physfsrwops.h')
-rw-r--r-- | src/utils/physfsrwops.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/physfsrwops.h b/src/utils/physfsrwops.h index 45ee21cc4..7e859a234 100644 --- a/src/utils/physfsrwops.h +++ b/src/utils/physfsrwops.h @@ -79,6 +79,8 @@ SDL_RWops *PHYSFSRWOPS_openAppend(const char *const fname) A_WARN_UNUSED; */ SDL_RWops *PHYSFSRWOPS_makeRWops(PHYSFS_file *const handle) A_WARN_UNUSED; +#ifdef DUMP_LEAKED_RESOURCES void reportRWops(); +#endif #endif // UTILS_PHYSFSRWOPS_H |