Re: Print address of string in Lua
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Print address of string in Lua
- From: Patrick Rapin <toupie300@...>
- Date: 2011年12月15日 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)
{
}