(svn r17697) -Codechange: coding style in the automatically generated squirrel wrapper code

This commit is contained in:
rubidium
2009-10-04 18:16:44 +00:00
parent 54806e7437
commit e7fb5f00e7
53 changed files with 176 additions and 89 deletions

View File

@@ -210,7 +210,8 @@ BEGIN {
print "";
# Then do the registration functions of the class. */
print "void SQ" cls "_Register(Squirrel *engine) {"
print "void SQ" cls "_Register(Squirrel *engine)"
print "{"
print " DefSQClass <" cls "> SQ" cls "(\"" cls "\");"
if (super_cls == "AIObject" || super_cls == "AIAbstractList::Valuator") {
print " SQ" cls ".PreRegister(engine);"