[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.4.3 (rc1) now available
- From: Roberto Ierusalimschy <roberto@...>
- Date: Fri, 12 Mar 2021 10:45:41 -0300
> If you did that and exported new public lua_* macros for use by C extension
> libraries, that would be an API change in a patch release, right? It would
> make code written using it to be source-API-incompatible with previous Lua
> 5.4 releases... (please don't!)
The idea is to rename them as luai_*, so they can be used by other Lua
macros (specifically luaL_argcheck and luaL_argexpected). C libraries
would use them only indirectly, through these macros. They would not be
part of the API and should not create source-API-incompatibilities (nor
ABI incompatibilities) with previous 5.4 releases.
Our only concern is that C extension libraries might end up using
__builtin_expect unknowingly. Would that be a problem?
-- Roberto