[Top][All Lists]

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

Re: Inline machinery

From: Greg Troxel
Subject: Re: Inline machinery
Date: Fri, 22 Feb 2008 13:11:13 -0500
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (berkeley-unix)

address@hidden (Ludovic Courtès) writes:

>> The patch seems ok, but I also wonder if the problem couldn't be solved
>> leaving the declarations by defining macros that expand properly to
>> extern/not and using them as
>>     scm_cell (...)
>>     { ... }
> That seems quite complex to me (i.e., does not really improve
> readability/maintainability), for little in return since its use is
> limited to `inline.h' anyway.
> Currently, we assume that only GCC knows how to handle "extern inline".
> I'm not sure this assumption is true in practice (doesn't C99 specify
> it?), but it's probably "good enough".

That seems ok - I'm not 100% clear on what's in the standards here,
particularly about declarations and inline definitions.

reply via email to

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