forked from mirrors/0ad
# Housekeeping.
- Jan and I cleaned up CJSComplex and put all the function bodies and helper classes in ScriptableComplex.inl. This also required minor changes to other files. - Removed a debug message from Technology.cpp. This was SVN commit r4173.
This commit is contained in:
@@ -3,7 +3,11 @@
|
||||
|
||||
#include "lib/allocators.h"
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// suballocator for CJSComplex.m_Properties elements
|
||||
// (must come after property defs)
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
static Bucket bucket;
|
||||
// HACK: it needs to be created/destroyed; since there is no
|
||||
// global init/shutdown call here, we keep a refcnt. this assumes that
|
||||
@@ -38,3 +42,4 @@ void jscomplexproperty_suballoc_free(IJSComplexProperty* p)
|
||||
p->~IJSComplexProperty();
|
||||
bucket_free(&bucket, p);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user