[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: lua_tostring
- From: "Denis Lamarche" <brainwav@...>
- Date: Wed, 29 Aug 2001 17:03:56 +0000
When I use:
char *text;
text = (char *)lua_tostring(L, 1);
Does text now contain a pointer to the string or is it a pointer to a newly
allocated array of memory containing the sting. I guess what I am asking is
does lua allocate some new space the I use lua_tostring.
and does it ever de-allocate it or is it up to me?
Denis Lamarche
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp