0ad/source/lib/nommgr.h
janwas f1d322d5af - add simplify_stl_func, so STL functions are stripped of crap like std::less<int> and std::allocator<*>
- hook strdup and getcwd, since they allocate memory internally
- better reporting of owner in case only partial information is
available (don't give up and report "unknown")

This was SVN commit r1879.
2005-01-30 16:23:12 +00:00

12 lines
174 B
C

// remove all memory allocation "hooks"
#undef new
#undef delete
#undef malloc
#undef calloc
#undef realloc
#undef free
#undef strdup
#undef wcsdup
#undef getcwd