bug#58524: pointer->procedure doesn't support foreign function use varargs.
Zhu Zihao <[email protected]>
| Newsgroups | gmane.lisp.guile.bugs |
|---|---|
| Message-ID | <[email protected]> |
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, 255 B)
-----BEGIN PGP SIGNATURE----- iIsEARYIADMWIQT4UAIrVkIEZilSHr2K2nJqP6LM8gUCY0mc+hUcYWxsX2J1dF9s YXN0QDE2My5jb20ACgkQitpyaj+izPKFswD9Ftz2xwKS9GN8gaYmWVA1vwuQrSHm qzWgUDhQ27kUBh8A/AkuDL7FYqzIqR1wLAQ4pkQB3iCCDo014fS1/+wLCCYK =1gm6 -----END PGP SIGNATURE-----