[Top][All Lists]

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

Re: [Emacs-diffs] trunk r114452: * data.c (POPCOUNT_STATIC_INLINE): New

From: Daniel Colascione
Subject: Re: [Emacs-diffs] trunk r114452: * data.c (POPCOUNT_STATIC_INLINE): New macro, as a hack for popcount.
Date: Tue, 24 Sep 2013 14:50:26 -0700
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130801 Thunderbird/17.0.8

On 9/24/13 7:53 AM, Paul Eggert wrote:
> ------------------------------------------------------------
> revno: 114452
> revision-id: address@hidden
> parent: address@hidden
> committer: Paul Eggert <address@hidden>
> branch nick: trunk
> timestamp: Tue 2013-09-24 07:53:49 -0700
> message:
>   * data.c (POPCOUNT_STATIC_INLINE): New macro, as a hack for popcount.

We also want to inline size_t_to_host_endian, since it'll be a noop on
most machine people actually use; really, we want to inline everything I
initially marked "static inline".

We should just use these two keywords and not define yet another
domain-specific macro. If we run on a compiler too old to understand
"inline", we can define it out. There's no need for
POPCOUNT_STATIC_INLINE. What problem is it supposed to solve?

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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