Reimplemented 'print', channeled it through PrintBuffer
This commit is contained in:
@@ -329,7 +329,7 @@ public:
|
||||
L_ = L;
|
||||
count_slots<0, 0, 0>(stackslots...);
|
||||
if (lua_gettop(L) < narg_) {
|
||||
luaL_error(L, "not enough arguments on stack");
|
||||
luaL_error(L, "not enough arguments to function");
|
||||
}
|
||||
assign_slots(argpos_, varpos_, retpos_, stackslots...);
|
||||
clear_frame();
|
||||
|
||||
Reference in New Issue
Block a user