lua
lua copied to clipboard
Templates expand to undefined procs
I was trying to use the Lua 5.2 bindings but ran into an error while trying to call lua_tostring. It turns out, this was because the template lua_tostring
in lua52.nim
expands to a call to an undefined proc lua_tolstring
. In fact, many of the templates in that section expand to calls to undefined procs. Am I missing a different import or is there something wrong here?
an oversight I'm working on fixing. The lua and luaL prefix need to be removed and the template should be a proc On Feb 18, 2015 7:38 PM, "sid-code" [email protected] wrote:
I was trying to use the Lua 5.2 bindings but ran into an error while trying to call lua_tostring. It turns out, this was because the template lua_tostring in lua52.nim expands to a call to an undefined proc lua_tolstring. In fact, all of the templates in that section expand to calls to undefined procs. Am I missing a different import or is there something wrong here?
— Reply to this email directly or view it on GitHub https://github.com/nim-lang/lua/issues/3.