| 660 | } |
| 661 | |
| 662 | LUA_API int load_error_func(lua_State *L, int ref) { |
| 663 | lua_rawgeti(L, LUA_REGISTRYINDEX, ref); |
| 664 | return lua_gettop(L); |
| 665 | } |
| 666 | |
| 667 | LUA_API int pcall_prepare(lua_State *L, int error_func_ref, int func_ref) { |
| 668 | lua_rawgeti(L, LUA_REGISTRYINDEX, error_func_ref); |
nothing calls this directly
no test coverage detected