engine->CallFree(descr->parameterTypes[n].GetObjectType(), obj);
should be
engine->CallFree(obj);
btw, thank you very much for fixing ExecuteString & config groups. Works nice for me!
[Edited by - mono2k on December 29, 2007 2:13:21 AM]
engine->CallFree(descr->parameterTypes[n].GetObjectType(), obj);
should be
engine->CallFree(obj);
btw, thank you very much for fixing ExecuteString & config groups. Works nice for me!
[Edited by - mono2k on December 29, 2007 2:13:21 AM]
*(asCArrayObject**)gen->GetReturnPointer() = ArrayObjectFactory2(length, ot, obj);
*(asCArrayObject**)gen->GetReturnPointer() = ArrayObjectFactory2(length, ot);
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game