Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void report(lua_State* L)
- {
- int count = lua_gettop(L);
- /*if(count == 0)
- {
- ((void(*)())0)();
- return;
- }*/
- while(count > 0)
- {
- const char* msg = lua_tostring(L, -1);
- LOG_ERROR(msg);
- lua_pop(L, 1);
- count--;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment