Share component template scripts to save some memory.

This was SVN commit r7504.
This commit is contained in:
Ykkrosh
2010-05-07 00:24:22 +00:00
parent fe53bce3b1
commit d0599f4c7a
6 changed files with 71 additions and 11 deletions
+5
View File
@@ -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
{