namespace Wrapper
{
-static SQInteger DisplayEffect_release_hook(SQUserPointer ptr, int )
+static SQInteger DisplayEffect_release_hook(SQUserPointer ptr, SQInteger )
{
Scripting::DisplayEffect* _this = reinterpret_cast<Scripting::DisplayEffect*> (ptr);
delete _this;
}
-static SQInteger Camera_release_hook(SQUserPointer ptr, int )
+static SQInteger Camera_release_hook(SQUserPointer ptr, SQInteger )
{
Scripting::Camera* _this = reinterpret_cast<Scripting::Camera*> (ptr);
delete _this;
}
-static SQInteger Level_release_hook(SQUserPointer ptr, int )
+static SQInteger Level_release_hook(SQUserPointer ptr, SQInteger )
{
Scripting::Level* _this = reinterpret_cast<Scripting::Level*> (ptr);
delete _this;
}
-static SQInteger ScriptedObject_release_hook(SQUserPointer ptr, int )
+static SQInteger ScriptedObject_release_hook(SQUserPointer ptr, SQInteger )
{
Scripting::ScriptedObject* _this = reinterpret_cast<Scripting::ScriptedObject*> (ptr);
delete _this;
}
-static SQInteger Text_release_hook(SQUserPointer ptr, int )
+static SQInteger Text_release_hook(SQUserPointer ptr, SQInteger )
{
Scripting::Text* _this = reinterpret_cast<Scripting::Text*> (ptr);
delete _this;
}
-static SQInteger Player_release_hook(SQUserPointer ptr, int )
+static SQInteger Player_release_hook(SQUserPointer ptr, SQInteger )
{
Scripting::Player* _this = reinterpret_cast<Scripting::Player*> (ptr);
delete _this;
}
-static SQInteger FloatingImage_release_hook(SQUserPointer ptr, int )
+static SQInteger FloatingImage_release_hook(SQUserPointer ptr, SQInteger )
{
Scripting::FloatingImage* _this = reinterpret_cast<Scripting::FloatingImage*> (ptr);
delete _this;
void
WrapperCreator::create_class_release_hook(Class* _class)
{
- out << "static SQInteger " << _class->name << "_release_hook(SQUserPointer ptr, int )\n"
+ out << "static SQInteger " << _class->name << "_release_hook(SQUserPointer ptr, SQInteger )\n"
<< "{\n"
<< ind << ns_prefix << _class->name
<< "* _this = reinterpret_cast<" << ns_prefix << _class->name