| 855 | |
| 856 | |
| 857 | LUA_API int lua_cpcall (lua_State *L, lua_CFunction func, void *ud) { |
| 858 | struct CCallS c; |
| 859 | int status; |
| 860 | lua_lock(L); |
| 861 | c.func = func; |
| 862 | c.ud = ud; |
| 863 | status = luaD_pcall(L, f_Ccall, &c, savestack(L, L->top), 0); |
| 864 | lua_unlock(L); |
| 865 | return status; |
| 866 | } |
| 867 | |
| 868 | |
| 869 | LUA_API int lua_load (lua_State *L, lua_Reader reader, void *data, |
no test coverage detected