[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: luaL_ref() on a string
- From: "Andreas Falkenhahn" <andreas@...>
- Date: Mon, 12 Apr 2010 18:15:40 +0200
when I use luaL_ref() on a string that is on top of the stack, and then obtain a pointer
to this string. Is this pointer guaranteed to be valid until I call luaL_unref() or could
the string be moved to an other memory location across function calls?
"Remember: It's nice to be important but it's more important to be nice!"