[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.
- Emacs' C: static inline considered useless nowadays?, Matt Armstrong, 2022/10/16
- Re: Emacs' C: static inline considered useless nowadays?, Stefan Monnier, 2022/10/16
- Re: Emacs' C: static inline considered useless nowadays?,
Eli Zaretskii <=
- Re: Emacs' C: static inline considered useless nowadays?, Matt Armstrong, 2022/10/17
- Re: Emacs' C: static inline considered useless nowadays?, Eli Zaretskii, 2022/10/17
- Re: Emacs' C: static inline considered useless nowadays?, Matt Armstrong, 2022/10/17
- Re: Emacs' C: static inline considered useless nowadays?, Eli Zaretskii, 2022/10/17
- Re: Emacs' C: static inline considered useless nowadays?, Stefan Monnier, 2022/10/18
- Re: Emacs' C: static inline considered useless nowadays?, Eli Zaretskii, 2022/10/18
- Re: Emacs' C: static inline considered useless nowadays?, tomas, 2022/10/18
- Re: Emacs' C: static inline considered useless nowadays?, Stefan Monnier, 2022/10/18
- Re: Emacs' C: static inline considered useless nowadays?, Eli Zaretskii, 2022/10/18
Re: Emacs' C: static inline considered useless nowadays?, Richard Stallman, 2022/10/18