Re: Correct way to push an empty string?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Correct way to push an empty string?
- From: Roberto Ierusalimschy <roberto@...>
- Date: 2015年8月24日 15:13:27 -0300
> > Well, I stand corrected. According to ISO, 'memcpy' (and, therefore,
> > luaL_pushlstring) cannot be called with NULL.
> >
> > -- Roberto
> >
>
> Is it worth updating the docs to make this clear? Especially as the other posts here (and some of the links) appear to indicate some confusion about this.
Sure (given that even I got confused :-).
-- Roberto