From 57288890689bfa2c2d35882169a539813be621f1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 15 Sep 2013 00:32:07 +0300 Subject: add RWops leaks reporting. --- src/utils/physfsrwops.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/utils/physfsrwops.h') 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 -- cgit v1.2.3-60-g2f50