Export
global _in Python would take the global _ as refer to it as a local, In Lua this is not required so the global keyword has been redone to rather generate a return statement at the end of the file.
class myFunc:
def method1():
print("Hi")
global myFuncin the generated source code at the end of the file
return {
["myFunc"] = myFunc,
}can be find.
Last updated