阅读背景:

在C-API中如何“%q”格式化一个lua_Buffer ?

来源:互联网 

string.format("%q", foo_str) will format a string to add the appropriate escape chars to make it safe to read back into the Lua interpreter. How can I best use this function to format a Lua_Buffer from the C-API? More generally, how can I access the string.* functions from the C-API? I could use ("%q", foo_str) will format a stri




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: