unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Andy Wingo <wingo@pobox.com>
To: Mark H Weaver <mhw@netris.org>
Cc: 13809@debbugs.gnu.org, guile-devel@gnu.org
Subject: bug#13809: [PATCH] Support calling foreign functions of 10 or more arguments
Date: Wed, 27 Feb 2013 10:25:42 +0100	[thread overview]
Message-ID: <87fw0ixg4p.fsf__39669.1033653498$1361957201$gmane$org@pobox.com> (raw)
In-Reply-To: <878v6azol2.fsf_-_@tines.lan> (Mark H. Weaver's message of "Tue,  26 Feb 2013 17:40:09 -0500")

Hi!

On Tue 26 Feb 2013 23:40, Mark H Weaver <mhw@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/





  parent reply	other threads:[~2013-02-27  9:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-25  0:34 bug#13809: Wishlist: support > 10 args to foreign functions Mark H Weaver
2013-02-25  9:01 ` Andy Wingo
2013-02-26 22:40   ` bug#13809: [PATCH] Support calling foreign functions of 10 or more arguments Mark H Weaver
     [not found]   ` <878v6azol2.fsf_-_@tines.lan>
2013-02-27  9:25     ` Andy Wingo [this message]
     [not found]     ` <87fw0ixg4p.fsf@pobox.com>
2013-02-27 22:11       ` Mark H Weaver
     [not found]       ` <87ppzlxv95.fsf@tines.lan>
2013-02-28  8:40         ` Andy Wingo
2013-02-28 11:40           ` Mark H Weaver

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='87fw0ixg4p.fsf__39669.1033653498$1361957201$gmane$org@pobox.com' \
    --to=wingo@pobox.com \
    --cc=13809@debbugs.gnu.org \
    --cc=guile-devel@gnu.org \
    --cc=mhw@netris.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).