From: Rob Browning <rlb@defaultvalue.org>
Cc: guile-devel@gnu.org
Subject: Re: How to replace a function
Date: Fri, 07 Mar 2003 10:44:34 -0600 [thread overview]
Message-ID: <873clzxh1p.fsf@raven.i.defaultvalue.org> (raw)
In-Reply-To: <20030307123707.GA8811@www> (tomas@fabula.de's message of "Fri, 7 Mar 2003 13:37:07 +0100")
tomas@fabula.de writes:
> we are trying to build a guile extension which should link
> smoothly against 1.6 and 1.7. If possible, we would like
> to use The Blessed Function (it's scm_c_string2str(), for
> the record). But alas, 1.6 hasn't got that. It seems that
> AC_REPLACE_FUNCS is the right macro (first do AC_CHECK_LIB,
> right?).
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?
--
Rob Browning
rlb @defaultvalue.org, @linuxdevel.com, and @debian.org
Previously @cs.utexas.edu
GPG starting 2002-11-03 = 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4
next prev parent reply other threads:[~2003-03-07 16:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-07 12:37 How to replace a function tomas
2003-03-07 16:38 ` Rob Browning
2003-03-10 12:21 ` tomas
2003-03-07 16:44 ` Rob Browning [this message]
2003-03-10 12:25 ` tomas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=873clzxh1p.fsf@raven.i.defaultvalue.org \
--to=rlb@defaultvalue.org \
--cc=guile-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).