| 471 | } |
| 472 | |
| 473 | const char* Script::ToPrint(lua_State* pState, string& out) { |
| 474 | int top = lua_gettop(pState); |
| 475 | int args = 0; |
| 476 | while (args++ < top) |
| 477 | ToString(pState,args,out); |
| 478 | return out.c_str(); |
| 479 | } |
| 480 | |
| 481 | string& Script::ToString(lua_State* pState, int index, string& out) { |
| 482 | int type = lua_type(pState, index); |
nothing calls this directly
no test coverage detected