lua_pushstring 能压C字符串(即以0结尾并且内部没有0),否则建议使用更通用的lua_pushlstring,它能指定长度。 你同样可以压入“格式化”字符串: const char * ...
確定! 回上一頁