guile-devel
[Top][All Lists]
Advanced

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

Re: memory.text


From: Dirk Herrmann
Subject: Re: memory.text
Date: Tue, 27 Nov 2001 00:18:18 +0100 (MET)

On 27 Nov 2001, Marius Vollmer wrote:

> > A different thing:  Why did you extract the inline functions to inline.h?
> 
> I wanted to provide a mechanism for easily adding inline functions to
> Guile, with support for platforms where inlining doesn't work.  I
> think the code for only-potentially inlined functions is sufficiently
> different from ordinary declarative code that it should be kept to its
> own.

Why so?  Would you prefer macros being put in a place of their own as
well?  Essentially, you have implemented SCM_NEWCELL as an inline
function, which has been a macro before.  IMO, it fitted quite nicely in
gc.h.  With the new HAVE_INLINE macro, combining inlined with non-inlined
code should be easy.

Best regards
Dirk Herrmann




reply via email to

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