(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<AICargo *>(HSQUIRRELVM vm, AICargo *res) { if (res == NULL) { sq_pushnull(vm); return 1; } res->AddRef(); Squirrel::CreateClassInstanceVM(vm, "AICargo", res, NULL, DefSQDestructorCallback<AICargo>); return 1; }
|
||||
}; // namespace SQConvert
|
||||
|
||||
void SQAICargo_Register(Squirrel *engine) {
|
||||
void SQAICargo_Register(Squirrel *engine)
|
||||
{
|
||||
DefSQClass <AICargo> SQAICargo("AICargo");
|
||||
SQAICargo.PreRegister(engine);
|
||||
SQAICargo.AddConstructor<void (AICargo::*)(), 1>(engine, "x");
|
||||
|
||||
Reference in New Issue
Block a user