Re: Question on replacing macros with static inline functions
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Question on replacing macros with static inline functions
- From: Roberto Ierusalimschy <roberto@...>
- Date: 2022年11月14日 13:45:40 -0300
> 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