X-Loop: help-debbugs@HIDDEN Subject: bug#58524: pointer->procedure doesn't support foreign function use varargs. Resent-From: Zhu Zihao <all_but_last@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guile@HIDDEN Resent-Date: Fri, 14 Oct 2022 17:33:01 +0000 Resent-Message-ID: <handler.58524.B.16657687538169 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 58524 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: 58524 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-guile@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.16657687538169 (code B ref -1); Fri, 14 Oct 2022 17:33:01 +0000 Received: (at submit) by debbugs.gnu.org; 14 Oct 2022 17:32:33 +0000 Received: from localhost ([127.0.0.1]:38526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ojOXx-00027h-4V for submit <at> debbugs.gnu.org; Fri, 14 Oct 2022 13:32:33 -0400 Received: from lists.gnu.org ([209.51.188.17]:50154) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <all_but_last@HIDDEN>) id 1ojOXu-00027Z-MZ for submit <at> debbugs.gnu.org; Fri, 14 Oct 2022 13:32:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44680) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <all_but_last@HIDDEN>) id 1ojOXu-0001wa-Gc for bug-guile@HIDDEN; Fri, 14 Oct 2022 13:32:30 -0400 Received: from mail-m971.mail.163.com ([123.126.97.1]:48258) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <all_but_last@HIDDEN>) id 1ojOXp-0007Re-1n for bug-guile@HIDDEN; Fri, 14 Oct 2022 13:32:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version; bh=BcGv5 r0Tzr3RDcI1eNVgXwnni3sP0AR2aF0JX5qYpag=; b=FLpa1wvrzx/H5SEkbyGm6 8uzfy/p2HqColBBUpfNo6D5MS7bpizN5pDHONIdCxOocO88qzxmv8KiIaKgWPJz7 W72Rt0ZPLJJE4F+6ZvuEBk2MAD3RmkYJz8WgHXnh+nrFIUFo6wAMiLOcorHYzlx/ 9pFCiLuIFaZSV/ikodkEEg= Received: from asus-laptop (unknown [163.125.249.49]) by smtp1 (Coremail) with SMTP id GdxpCgDnC6ccnUljpe4Ukg--.903S2; Sat, 15 Oct 2022 01:32:13 +0800 (CST) User-agent: mu4e 1.8.9; emacs 29.0.50 From: Zhu Zihao <all_but_last@HIDDEN> Date: Sat, 15 Oct 2022 01:29:06 +0800 Message-ID: <86pmeuia6d.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-CM-TRANSID: GdxpCgDnC6ccnUljpe4Ukg--.903S2 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjxUeHqcDUUUU X-Originating-IP: [163.125.249.49] X-CM-SenderInfo: pdoosuxxwbztlvw6il2tof0z/xtbBoR2ar2I0VLsHWgAAst Received-SPF: pass client-ip=123.126.97.1; envelope-from=all_but_last@HIDDEN; helo=mail-m971.mail.163.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.4 (--) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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.=20 =2D-=20 Retrieve my PGP public key: gpg --recv-keys B3EBC086AB0EBC0F45E0B4D433DB374BCEE4D9DC Zihao --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIsEARYIADMWIQT4UAIrVkIEZilSHr2K2nJqP6LM8gUCY0mc+hUcYWxsX2J1dF9s YXN0QDE2My5jb20ACgkQitpyaj+izPKFswD9Ftz2xwKS9GN8gaYmWVA1vwuQrSHm qzWgUDhQ27kUBh8A/AkuDL7FYqzIqR1wLAQ4pkQB3iCCDo014fS1/+wLCCYK =1gm6 -----END PGP SIGNATURE----- --=-=-=--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Zhu Zihao <all_but_last@HIDDEN> Subject: bug#58524: Acknowledgement (pointer->procedure doesn't support foreign function use varargs.) Message-ID: <handler.58524.B.16657687538169.ack <at> debbugs.gnu.org> References: <86pmeuia6d.fsf@HIDDEN> X-Gnu-PR-Message: ack 58524 X-Gnu-PR-Package: guile Reply-To: 58524 <at> debbugs.gnu.org Date: Fri, 14 Oct 2022 17:33:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guile@HIDDEN If you wish to submit further information on this problem, please send it to 58524 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 58524: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D58524 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#58524: Acknowledgement (pointer->procedure doesn't support foreign function use varargs.) References: <86pmeuia6d.fsf@HIDDEN> In-Reply-To: <86pmeuia6d.fsf@HIDDEN> Resent-From: Zhu Zihao <all_but_last@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guile@HIDDEN Resent-Date: Thu, 27 Oct 2022 16:44:02 +0000 Resent-Message-ID: <handler.58524.B58524.16668890108703 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 58524 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: 58524 <at> debbugs.gnu.org Received: via spool by 58524-submit <at> debbugs.gnu.org id=B58524.16668890108703 (code B ref 58524); Thu, 27 Oct 2022 16:44:02 +0000 Received: (at 58524) by debbugs.gnu.org; 27 Oct 2022 16:43:30 +0000 Received: from localhost ([127.0.0.1]:59134 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1oo5yc-0002GI-0Y for submit <at> debbugs.gnu.org; Thu, 27 Oct 2022 12:43:30 -0400 Received: from mail-m975.mail.163.com ([123.126.97.5]:50724) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <all_but_last@HIDDEN>) id 1oo5yY-0002G1-NW for 58524 <at> debbugs.gnu.org; Thu, 27 Oct 2022 12:43:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version; bh=tvjfs 8+Y6sD8e4PUij/sE/ciCCrX/SE84uuzrC/k+9U=; b=djAaXIdyn35cy5Wm9YV7M mdmhCW0L66xWAZcSz9Ju8/ZyR7zzwkiyI3PPG9Qj6MVcfeic89G9oIXQp/7zt/5Y 0wqX9fcrTSnDehXZ13BUTtzU653stCdFoZyCVUJkt97OPqaW3Hygn+Mvr9aKTLIF SQAcReF3hg28bpuE/DVqKM= Received: from asus-laptop (unknown [27.38.249.197]) by smtp5 (Coremail) with SMTP id HdxpCgD3gTcjtVpjb1LQnw--.41561S2; Fri, 28 Oct 2022 00:43:16 +0800 (CST) User-agent: mu4e 1.8.9; emacs 29.0.50 From: Zhu Zihao <all_but_last@HIDDEN> Date: Fri, 28 Oct 2022 00:42:42 +0800 Message-ID: <8635b9usj3.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-CM-TRANSID: HdxpCgD3gTcjtVpjb1LQnw--.41561S2 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvj4Rg0eLUUUUU X-Originating-IP: [27.38.249.197] X-CM-SenderInfo: pdoosuxxwbztlvw6il2tof0z/xtbBoQSnr2I0VZotEwAAsK X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Any one interested in it? =2D-=20 Retrieve my PGP public key: gpg --recv-keys B3EBC086AB0EBC0F45E0B4D433DB374BCEE4D9DC Zihao --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIsEARYIADMWIQT4UAIrVkIEZilSHr2K2nJqP6LM8gUCY1q1EBUcYWxsX2J1dF9s YXN0QDE2My5jb20ACgkQitpyaj+izPJ0oQD/cA0oYlMjwrfo8VBgTcoGcw+feGqi QiMQX3BDgB/WTT0A/3sTu3fyGxjZLRpbgt67a86bgbGnd2UCPKcT31Ezz2AJ =fLT+ -----END PGP SIGNATURE----- --=-=-=--
Received: (at control) by debbugs.gnu.org; 5 Nov 2022 23:45:07 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 05 19:45:07 2022 Received: from localhost ([127.0.0.1]:58339 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1orSqY-0001vw-WC for submit <at> debbugs.gnu.org; Sat, 05 Nov 2022 19:45:07 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48388) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1orSqX-0001v9-KM for control <at> debbugs.gnu.org; Sat, 05 Nov 2022 19:45:06 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1orSqS-0000nH-Cw for control <at> debbugs.gnu.org; Sat, 05 Nov 2022 19:45:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:Subject:From:To:Date:in-reply-to: references; bh=HJLh7Dzs6D4PeaswUGrbKvSLPrIP2VPiXbAnWeYg/p8=; b=A2mmgU2F2rppu0 gqCxyEs0pTNIR9uspOaWxM22FvyfBd5Wl1M6cAgdrk9rQ6Y/kzvZZWHqJxmwUba6z94hIHpAZy+0V ULM5pa8ocbrx7oatN+uIe1hobj+0hl3Z0YsCKrHT6HkZs7HXyJWbRRIR79jqIm3Joh+VSt+x6Eq0a Ky/nf6bNfT72qwZuqfKON7SqFq434KW11WRsHMQWSQc28H0Oz34+ymmgQ5F2z7oK42+J3MeV5OPwp 4p+XvIbehll3Y1z8fmE8jkbzF1lU2u9X192IjiJsdkhIz0X4yhcsieVXwBr6tkE+5XR6ECDOeLudf +xP+IlAFIDzH9Nnxmk/g==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1orSqR-0002dR-SL for control <at> debbugs.gnu.org; Sat, 05 Nov 2022 19:45:00 -0400 Date: Sun, 06 Nov 2022 00:44:58 +0100 Message-Id: <87r0yhge4l.fsf@HIDDEN> To: control <at> debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> Subject: control message for bug #58524 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) severity 58524 wishlist quit
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.