[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Question on replacing macros with static inline functions
- From: Brent Pappas <pappasbrent@...>
- Date: Mon, 14 Nov 2022 16:49:14 +0000
I see, that makes sense.
Thanks for the quick reply.
________________________________________
From: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Sent: Monday, November 14, 2022 11:45 AM
To: Lua mailing list
Subject: Re: Question on replacing macros with static inline functions
> I noticed that Lua code sometimes uses macros where a static inline function
> would appear to work equally as well.
> [...]
>
> How interested would the Lua development team be in replacing such macros with
> functions in the future?
Inline functions is not present in C89, and Lua is (still) compatible
with C89.
-- Roberto