For zero-terminated strings, you can use also lua_pushstring , which uses strlen to supply the string length. Lua never keeps pointers to external strings ...
確定! 回上一頁