[Top][All Lists]

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

Re: How to replace a function

From: tomas
Subject: Re: How to replace a function
Date: Mon, 10 Mar 2003 13:25:10 +0100
User-agent: Mutt/1.3.28i

On Fri, Mar 07, 2003 at 10:44:34AM -0600, Rob Browning wrote:
> address@hidden writes:

[About being compatible to two Guile versions]

> One other option.  Could you you use something like this in a C file
> instead?
>   #ifdef SCM_MAJOR_VERSION \
>     && (SCM_MAJOR_VERSION == 1) \
>     && (SCM_MINOR_VERSION == 6)
>   # include "augment-1.6.c"
>   #endif
> and add something similar in the header(s) for the missing prototypes?

Hmmm... It's tempting to skirt the Automonster this way, ain't it ;-)

But somehow a `feature test' seems to me the right thing here (and maybe
useful to others on this list). What do you think?

-- tomas

reply via email to

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