[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: What are the major differences between lua_pushliteral and lua_pushstring?
- From: Andrew Gierth <andrew@...>
- Date: Thu, 03 Dec 2020 03:00:18 +0000
>>>>> "孙世龙" == 孙世龙 sunshilong <sunshilong369@gmail.com> writes:
孙世龙> I can't understand the explanation aforementioned at all. As
孙世龙> far as I can see, there is no difference from the macro
孙世龙> definition for lua_pushliteral:
孙世龙> #define lua_pushliteral(L, s) lua_pushstring(L, "" s)
There is no difference _now_, but that was not true in the past (and may
become false again in the future, who knows).
--
Andrew.