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_marine.hpp.sq | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ai/api/ai_marine.hpp.sq') diff --git a/src/ai/api/ai_marine.hpp.sq b/src/ai/api/ai_marine.hpp.sq index 93400a260..5c6b86900 100644 --- a/src/ai/api/ai_marine.hpp.sq +++ b/src/ai/api/ai_marine.hpp.sq @@ -24,7 +24,8 @@ namespace SQConvert { template <> int Return(HSQUIRRELVM vm, AIMarine *res) { if (res == NULL) { sq_pushnull(vm); return 1; } res->AddRef(); Squirrel::CreateClassInstanceVM(vm, "AIMarine", res, NULL, DefSQDestructorCallback); return 1; } }; // namespace SQConvert -void SQAIMarine_Register(Squirrel *engine) { +void SQAIMarine_Register(Squirrel *engine) +{ DefSQClass SQAIMarine("AIMarine"); SQAIMarine.PreRegister(engine); SQAIMarine.AddConstructor(engine, "x"); -- cgit v1.2.3-54-g00ecf