| 848 | |
| 849 | |
| 850 | LUA_API int lua_cpcall (lua_State *L, lua_CFunction func, void *ud) { |
| 851 | struct CCallS c; |
| 852 | int status; |
| 853 | lua_lock(L); |
| 854 | c.func = func; |
| 855 | c.ud = ud; |
| 856 | status = luaD_pcall(L, f_Ccall, &c, savestack(L, L->top), 0); |
| 857 | lua_unlock(L); |
| 858 | return status; |
| 859 | } |
| 860 | |
| 861 | |
| 862 | LUA_API int lua_load (lua_State *L, lua_Reader reader, void *data, |
no test coverage detected