mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-26 15:11:28 +00:00
Share component template scripts to save some memory.
This was SVN commit r7504.
This commit is contained in:
@@ -177,6 +177,11 @@ public:
|
||||
bool AddRoot(void* ptr, const char* name);
|
||||
bool RemoveRoot(void* ptr);
|
||||
|
||||
/**
|
||||
* Dump some memory heap debugging information to stderr.
|
||||
*/
|
||||
void DumpHeap();
|
||||
|
||||
// Helper class for automatically rooting values
|
||||
class LocalRootScope
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user