[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Print address of string in Lua
- From: rahul sharma <rahulatgslab@...>
- Date: Thu, 15 Dec 2011 19:22:56 +0530
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.