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