GNU bug report logs - #58524
pointer->procedure doesn't support foreign function use varargs.

Previous Next

Package: guile;

Reported by: Zhu Zihao <all_but_last <at> 163.com>

Date: Fri, 14 Oct 2022 17:33:01 UTC

Severity: wishlist

Full log


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

From: Zhu Zihao <all_but_last <at> 163.com>
To: bug-guile <at> gnu.org
Subject: pointer->procedure doesn't support foreign function use varargs.
Date: Sat, 15 Oct 2022 01:29:06 +0800
[Message part 1 (text/plain, inline)]
In current implementation of pointer->procedure, it use ffi_prep_cif.
So pointer->procedure just support foreign function with fixed amount of
arguments.

It's possible to support foreign function use varargs by using ffi_prep_cif_var. 
-- 
Retrieve my PGP public key:

  gpg --recv-keys B3EBC086AB0EBC0F45E0B4D433DB374BCEE4D9DC

Zihao
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 9 days ago.

Previous Next


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