Re: [ANN] Lua 5.4.0 (rc3) now available
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: [ANN] Lua 5.4.0 (rc3) now available
- From: Roberto Ierusalimschy <roberto@...>
- Date: 2020年5月13日 11:24:30 -0300
> > #define sizelstring(l) (offsetof(TString, bytes) + ((l) + 1) *
> > sizeof(char))
>
> Is it OK if sizelstring(l) sometimes is less than sizeof(TString)?
It could be a problem in code that would have problems even without that
(e.g., assigning a TString to another).
-- Roberto
_______________________________________________
lua-l mailing list -- lua-l@lists.lua.org
To unsubscribe send an email to lua-l-leave@lists.lua.org