(svn r17697) -Codechange: coding style in the automatically generated squirrel wrapper code
This commit is contained in:
@@ -26,7 +26,8 @@ namespace SQConvert {
|
||||
template <> int Return<AICompany *>(HSQUIRRELVM vm, AICompany *res) { if (res == NULL) { sq_pushnull(vm); return 1; } res->AddRef(); Squirrel::CreateClassInstanceVM(vm, "AICompany", res, NULL, DefSQDestructorCallback<AICompany>); return 1; }
|
||||
}; // namespace SQConvert
|
||||
|
||||
void SQAICompany_Register(Squirrel *engine) {
|
||||
void SQAICompany_Register(Squirrel *engine)
|
||||
{
|
||||
DefSQClass <AICompany> SQAICompany("AICompany");
|
||||
SQAICompany.PreRegister(engine);
|
||||
SQAICompany.AddConstructor<void (AICompany::*)(), 1>(engine, "x");
|
||||
|
Reference in New Issue
Block a user