public interface JavaFunction
int invoke(LuaState luaState)
Java functions should indicate application errors by returning appropriate error codes to the caller. Programming errors should be indicated by throwing a runtime exception.
luaState
- the Lua state this function has been invoked on