【发布时间】:2016-03-02 17:22:15
【问题描述】:
我有一个问题:如何使lua_tostring 函数限制条目数量。
例如 8 个字符限制:
poppy_name = "command"; // OK, within the limit;
poppy_name = "commander"; // Fail, Is out of range, show a message the permitted limit.
我搜索了找不到了,有没有办法限制lua_tostring?
【问题讨论】: