[quote]How does it handle memory, does it use a pool, or does it allocate globally, or does it allow the register code to define allocators ?
actually you can define a global allocator pool (for every object) or per single object allocator: you manage how to treat what u allocate. or you can leave the engine handle it.
actually a class is just a struct, virtual table is implemented but not usable, i think in a couple of weeks we can see inheritance implemented.
you have a couple of macros that will easy that setup:
engine->RegisterGlobalFunction("int& callFunction(float&) const", asFUNCTIONPR(callFunction, (float&) const, int&), asCALL_CDECL);
engine->RegisterGlobalFunction("int callFunction(const int, const int)", asFUNCTIONPR(callFunction, (const int, const int), int), asCALL_CDECL);
yeah, this is actually lacking, but i’m implementing it myself… it will be completed in near time.