GNU bug report logs - #13809
Wishlist: support > 10 args to foreign functions

Previous Next

Package: guile;

Reported by: Mark H Weaver <mhw <at> netris.org>

Date: Mon, 25 Feb 2013 00:37:01 UTC

Severity: wishlist

Done: Mark H Weaver <mhw <at> netris.org>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 13809 <at> debbugs.gnu.org (full text, mbox):

From: Andy Wingo <wingo <at> pobox.com>
To: Mark H Weaver <mhw <at> netris.org>
Cc: guile-devel <at> gnu.org, 13809 <at> debbugs.gnu.org
Subject: Re: [PATCH] Support calling foreign functions of 10 or more arguments
Date: Wed, 27 Feb 2013 10:25:42 +0100
Hi!

On Tue 26 Feb 2013 23:40, Mark H Weaver <mhw <at> netris.org> writes:

> I've attached a patch that implements dynamic allocation of objcode
> stubs for larger arities.  What do you think?

LGTM.  Please lazily initialize the vector as well.

If you like, CODE and META could probably be reworked as higher-order
macros so that they can both generate static objcodes and initialize a
non-static byte array.  A bit more DRY.  As you like.

Andy
-- 
http://wingolog.org/




This bug report was last modified 12 years and 88 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.