> However, you could call something like const char *lua_intern(L, const > char *str); which would intern your string and return the internal > pointer which you could then use for comparison. lua_tostring and lua_tolstring do exactly that.