emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs' C: static inline considered useless nowadays?


From: Eli Zaretskii
Subject: Re: Emacs' C: static inline considered useless nowadays?
Date: Mon, 17 Oct 2022 09:10:22 +0300

> From: Matt Armstrong <matt@rfc20.org>
> Date: Sun, 16 Oct 2022 15:08:51 -0700
> 
> For Emacs, I would think:
> 
> a) In header files, use Emacs' INLINE and NO_INLINE macros.
> 
> b) In .c files, use static, EXTERN_INLINE, but never 'inline' since it
> does nothing.
> 
> I'm seeking confirmation (or refutation) of (a) and (b).  I'm not asking
> generally, but for Emacs' C code.

See conf_post.h, around line 395: it explains the issue and the
expected usage of these in our sources.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]