|
|
||
|
From: Chris Marrin <chris@marrin.com>
But this is guaranteed to fail, isn't it? A Lua originated string is never going to have the same pointer as a C-generated string, right?
And I will store the string pointer as the value of the atom. Now I want to go:
if (lua_tostring(L, -1) == myFooAtom) // the strings match!
Greets, Mark