MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / lua_param

Method lua_param

modules/engine/basic_meta/lua/luabind.py:45–50  ·  view source on GitHub ↗
(self, name, param)

Source from the content-addressed store, hash-verified

43 return "(%s)"%plist + ret
44
45 def lua_param(self, name, param):
46 if param.isCallback:
47 t = self.lua_functor("", param.functor)
48 else:
49 t = self.lua_type(param.type)
50 return self.escape(name) + ": " + t
51
52 def generate_forward(self, db, args):
53 template = os.path.join(BASE, "luabind.h.mako")

Callers 1

lua_functorMethod · 0.95

Calls 3

lua_functorMethod · 0.95
lua_typeMethod · 0.95
escapeMethod · 0.95

Tested by

no test coverage detected