lua c api: how to push a string with a null character in the middle?
- by anon
normally, I would just use
lua_pushstring(lua_State* L, const char* s);
however, the string I want to push might have a null character in it. How do I make that work?