luajava
luajava copied to clipboard
Add newTable method at Lua interface
This PR simply adds newTable()
method(with default invocation) to Lua interface.
The newTable
seems exists on native lua code and highly used on beginner-level code instead its equivalent: createTable(0, 0)
.
Also, because the LuaNative.newTable
exists, its good to add it into interface too.
I just add it via default method of interface because I use github edit page to modify this but if you want then I'll change it to use method inside LuaNative.