| 884 | |
| 885 | |
| 886 | LUA_API int lua_cpcall (lua_State *L, lua_CFunction func, void *ud) { |
| 887 | struct CCallS c; |
| 888 | int status; |
| 889 | lua_lock(L); |
| 890 | c.func = func; |
| 891 | c.ud = ud; |
| 892 | status = luaD_pcall(L, f_Ccall, &c, savestack(L, L->top), 0); |
| 893 | lua_unlock(L); |
| 894 | return status; |
| 895 | } |
| 896 | |
| 897 | |
| 898 | LUA_API int lua_load (lua_State *L, lua_Reader reader, void *data, |
no test coverage detected