made script "inheritance" less OOP

This commit is contained in:
Karroffel
2017-05-13 13:55:04 +02:00
parent cf30b0f39d
commit fad8f7c9eb
6 changed files with 84 additions and 9 deletions

View File

@@ -441,7 +441,7 @@ def generate_icall_implementation(icalls):
source.append("")
source.append("")
source.append("using namespace godot;")
source.append("namespace godot {")
source.append("")
for icall in icalls:
@@ -497,6 +497,7 @@ def generate_icall_implementation(icalls):
source.append("}")
source.append("}")
source.append("")
return "\n".join(source)