lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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