From e7fb5f00e7b97c235aaad45844ad816f0df5e31e Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 4 Oct 2009 18:16:44 +0000 Subject: (svn r17697) -Codechange: coding style in the automatically generated squirrel wrapper code --- src/ai/api/ai_company.hpp.sq | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ai/api/ai_company.hpp.sq') diff --git a/src/ai/api/ai_company.hpp.sq b/src/ai/api/ai_company.hpp.sq index a6005f9f3..29fab8cb3 100644 --- a/src/ai/api/ai_company.hpp.sq +++ b/src/ai/api/ai_company.hpp.sq @@ -26,7 +26,8 @@ namespace SQConvert { template <> int Return(HSQUIRRELVM vm, AICompany *res) { if (res == NULL) { sq_pushnull(vm); return 1; } res->AddRef(); Squirrel::CreateClassInstanceVM(vm, "AICompany", res, NULL, DefSQDestructorCallback); return 1; } }; // namespace SQConvert -void SQAICompany_Register(Squirrel *engine) { +void SQAICompany_Register(Squirrel *engine) +{ DefSQClass SQAICompany("AICompany"); SQAICompany.PreRegister(engine); SQAICompany.AddConstructor(engine, "x"); -- cgit v1.2.3-54-g00ecf