diff options
Diffstat (limited to 'src/ai/api/ai_industrytypelist.hpp.sq')
-rw-r--r-- | src/ai/api/ai_industrytypelist.hpp.sq | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ai/api/ai_industrytypelist.hpp.sq b/src/ai/api/ai_industrytypelist.hpp.sq index e2abe3621..2dc728a7a 100644 --- a/src/ai/api/ai_industrytypelist.hpp.sq +++ b/src/ai/api/ai_industrytypelist.hpp.sq @@ -20,7 +20,8 @@ namespace SQConvert { template <> int Return<AIIndustryTypeList *>(HSQUIRRELVM vm, AIIndustryTypeList *res) { if (res == NULL) { sq_pushnull(vm); return 1; } res->AddRef(); Squirrel::CreateClassInstanceVM(vm, "AIIndustryTypeList", res, NULL, DefSQDestructorCallback<AIIndustryTypeList>); return 1; } }; // namespace SQConvert -void SQAIIndustryTypeList_Register(Squirrel *engine) { +void SQAIIndustryTypeList_Register(Squirrel *engine) +{ DefSQClass <AIIndustryTypeList> SQAIIndustryTypeList("AIIndustryTypeList"); SQAIIndustryTypeList.PreRegister(engine, "AIAbstractList"); SQAIIndustryTypeList.AddConstructor<void (AIIndustryTypeList::*)(), 1>(engine, "x"); |