[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Print address of string in Lua
- From: Elias Barrionovo <elias.tandel@...>
- Date: Thu, 15 Dec 2011 12:25:48 -0200
There's no way to get the address of a string in pure lua.
On 12/15/11, rahul sharma <rahulatgslab@gmail.com> wrote:
> Hi All,
>
> Thanks for your kind reply. Why I want the address in Lua is because I want
> to know the address in Lua, then I will pass that string to C, and in C, I
> will get the address of that string using lua_tostring(). So if these two
> match, then I can be sure that no copying is done in lua on passing string
> from Lua to C.
>
--
Sent from my mobile device
NI!