(svn r17697) -Codechange: coding style in the automatically generated squirrel wrapper code
This commit is contained in:
@@ -20,7 +20,8 @@ namespace SQConvert {
|
||||
template <> int Return<AIEngineList *>(HSQUIRRELVM vm, AIEngineList *res) { if (res == NULL) { sq_pushnull(vm); return 1; } res->AddRef(); Squirrel::CreateClassInstanceVM(vm, "AIEngineList", res, NULL, DefSQDestructorCallback<AIEngineList>); return 1; }
|
||||
}; // namespace SQConvert
|
||||
|
||||
void SQAIEngineList_Register(Squirrel *engine) {
|
||||
void SQAIEngineList_Register(Squirrel *engine)
|
||||
{
|
||||
DefSQClass <AIEngineList> SQAIEngineList("AIEngineList");
|
||||
SQAIEngineList.PreRegister(engine, "AIAbstractList");
|
||||
SQAIEngineList.AddConstructor<void (AIEngineList::*)(AIVehicle::VehicleType vehicle_type), 2>(engine, "xi");
|
||||
|
Reference in New Issue
Block a user