(svn r17697) -Codechange: coding style in the automatically generated squirrel wrapper code

This commit is contained in:
rubidium
2009-10-04 18:16:44 +00:00
parent 54806e7437
commit e7fb5f00e7
53 changed files with 176 additions and 89 deletions

View File

@@ -28,7 +28,8 @@ namespace SQConvert {
template <> int Return<AITown *>(HSQUIRRELVM vm, AITown *res) { if (res == NULL) { sq_pushnull(vm); return 1; } res->AddRef(); Squirrel::CreateClassInstanceVM(vm, "AITown", res, NULL, DefSQDestructorCallback<AITown>); return 1; }
}; // namespace SQConvert
void SQAITown_Register(Squirrel *engine) {
void SQAITown_Register(Squirrel *engine)
{
DefSQClass <AITown> SQAITown("AITown");
SQAITown.PreRegister(engine);
SQAITown.AddConstructor<void (AITown::*)(), 1>(engine, "x");