add LUA_FUNCTION for lua_function