unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#58524: pointer->procedure doesn't support foreign function use varargs.
@ 2022-10-14 17:29 Zhu Zihao
  2022-10-27 16:42 ` bug#58524: Acknowledgement (pointer->procedure doesn't support foreign function use varargs.) Zhu Zihao
  0 siblings, 1 reply; 2+ messages in thread
From: Zhu Zihao @ 2022-10-14 17:29 UTC (permalink / raw)
  To: 58524

[-- Attachment #1: Type: text/plain, Size: 347 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 255 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#58524: Acknowledgement (pointer->procedure doesn't support foreign function use varargs.)
  2022-10-14 17:29 bug#58524: pointer->procedure doesn't support foreign function use varargs Zhu Zihao
@ 2022-10-27 16:42 ` Zhu Zihao
  0 siblings, 0 replies; 2+ messages in thread
From: Zhu Zihao @ 2022-10-27 16:42 UTC (permalink / raw)
  To: 58524

[-- Attachment #1: Type: text/plain, Size: 134 bytes --]


Any one interested in it?
-- 
Retrieve my PGP public key:

  gpg --recv-keys B3EBC086AB0EBC0F45E0B4D433DB374BCEE4D9DC

Zihao

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 255 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-10-27 16:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-14 17:29 bug#58524: pointer->procedure doesn't support foreign function use varargs Zhu Zihao
2022-10-27 16:42 ` bug#58524: Acknowledgement (pointer->procedure doesn't support foreign function use varargs.) Zhu Zihao

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).