diff options
author | smatz <smatz@openttd.org> | 2010-03-23 22:48:10 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2010-03-23 22:48:10 +0000 |
commit | 4d67c5ddaf0d06e482ec3a547565279dd5cf4ad2 (patch) | |
tree | 17a684cd99aaef298ece83b2ead4cd36ea6fa535 /src/ai/api/ai_sign.hpp.sq | |
parent | 23041d97200f226bf427de8db7e78232c4ad68b1 (diff) | |
download | openttd-4d67c5ddaf0d06e482ec3a547565279dd5cf4ad2.tar.xz |
(svn r19510) -Codechange: remove superfluous semicolons from *.sq files
Diffstat (limited to 'src/ai/api/ai_sign.hpp.sq')
-rw-r--r-- | src/ai/api/ai_sign.hpp.sq | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/api/ai_sign.hpp.sq b/src/ai/api/ai_sign.hpp.sq index 6d25b240e..35df2636e 100644 --- a/src/ai/api/ai_sign.hpp.sq +++ b/src/ai/api/ai_sign.hpp.sq @@ -22,7 +22,7 @@ namespace SQConvert { template <> const AISign *GetParam(ForceType<const AISign *>, HSQUIRRELVM vm, int index, SQAutoFreePointers *ptr) { SQUserPointer instance; sq_getinstanceup(vm, index, &instance, 0); return (AISign *)instance; } template <> const AISign &GetParam(ForceType<const AISign &>, HSQUIRRELVM vm, int index, SQAutoFreePointers *ptr) { SQUserPointer instance; sq_getinstanceup(vm, index, &instance, 0); return *(AISign *)instance; } template <> int Return<AISign *>(HSQUIRRELVM vm, AISign *res) { if (res == NULL) { sq_pushnull(vm); return 1; } res->AddRef(); Squirrel::CreateClassInstanceVM(vm, "AISign", res, NULL, DefSQDestructorCallback<AISign>); return 1; } -}; // namespace SQConvert +} // namespace SQConvert void SQAISign_Register(Squirrel *engine) { |