| 437 | } |
| 438 | |
| 439 | int Script::IPairs(lua_State* pState) { |
| 440 | // 1 table |
| 441 | if (!lua_istable(pState, 1)) { |
| 442 | SCRIPT_BEGIN(pState) |
| 443 | SCRIPT_ERROR("ipairs on a ", lua_typename(pState,lua_type(pState, 1)), " value") |
| 444 | SCRIPT_END |
| 445 | return 0; |
| 446 | } |
| 447 | lua_pushcfunction(pState,&INext); |
| 448 | lua_pushvalue(pState, 1); |
| 449 | return 2; |
| 450 | } |
| 451 | |
| 452 | |
| 453 | const UInt8* Script::ToId(const UInt8* data, UInt32 size, UInt8 id[64]) { |
nothing calls this directly
no outgoing calls
no test coverage detected