|
On 2-Jul-07, at 2:40 PM, SosCpdTerra wrote:
Did someone know a better way to typecast a const char * (that is aboutlua_tostring(L, n)) into a char * then vector or c_str()? I'm fighting withthat...
Strings returned by lua_tostring *must not be modified*. So don't cast them to char* or evil things will happen.