This commit is contained in:
lenheart
2024-08-02 22:34:11 +08:00
parent 86497247df
commit 248a99ecd1
13 changed files with 120 additions and 95 deletions

View File

@@ -176,6 +176,11 @@ public:
sq_pushstring(v, Str.c_str(), -1);
sq_call(v, 2, SQFalse, SQTrue); // calls the function
}
else
{
std::cout << "缓冲区大小: " << PackData.size() << std::endl;
std::cout << "包内容: " << Str << std::endl;
}
sq_settop(v, top); // restores the original stack size
TestCode++;