[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Maximum alignment question
- From: Bogdan Marinescu <bogdan.marinescu@...>
- Date: Mon, 16 Feb 2009 10:39:58 +0200
> The manual says:
>
> lua_tolstring returns a fully aligned pointer to a string inside the
> Lua state.
>
> The string itself is stored just after this structure:
>
> #define getstr(ts) cast(const char *, (ts) + 1)
Thank you, I understood that. The part that I don't understand is why
does the string have to be fully aligned.
Best,
Bogdan