[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Print address of string in Lua
- From: Patrick Rapin <toupie300@...>
- Date: Thu, 15 Dec 2011 13:57:40 +0100
> Hi, I want to print the starting address of string in Lua.
> So is there any method to do that???
No. There is no official way, and (except for debugging) you have no
reason to do that.
If you really need that feature, write a function in C for example like this:
static int string_address(lua_State* L)