Draft: Lua method call #25
issue #25 (closed) (it works :-) )
Add an ability to call methods on LuaTables hlua has a LuaTable struct, which supports getting and setting elements, but calling methods using this api is not good.
The result should look something like this:
let lua = hlua::Lua::new();
let table: hlua::LuaTable<_> = lua.get("a").unwrap();
let res: T = table.call_method("foo", (1, "bar"));
Edited by Alexey Protsenko