From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: FFI supports callbacks Date: Fri, 03 Sep 2010 09:51:10 -0700 Message-ID: References: <87bp8ej3w3.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1283532493 2622 80.91.229.12 (3 Sep 2010 16:48:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 3 Sep 2010 16:48:13 +0000 (UTC) Cc: guile-devel@gnu.org To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Sep 03 18:48:11 2010 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OrZQu-0008AZ-8q for guile-devel@m.gmane.org; Fri, 03 Sep 2010 18:48:08 +0200 Original-Received: from localhost ([127.0.0.1]:43894 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OrZQt-0008Aw-Lx for guile-devel@m.gmane.org; Fri, 03 Sep 2010 12:48:07 -0400 Original-Received: from [140.186.70.92] (port=51870 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OrZQl-00089m-PT for guile-devel@gnu.org; Fri, 03 Sep 2010 12:48:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OrZQk-0001cH-EY for guile-devel@gnu.org; Fri, 03 Sep 2010 12:47:59 -0400 Original-Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:48481 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OrZQk-0001cB-9Q; Fri, 03 Sep 2010 12:47:58 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 93DEFD2C73; Fri, 3 Sep 2010 12:47:57 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=sasl; bh=wlM0KYxO6Vr2 dSsohOYw1aBTuQk=; b=MBRixDEEteSnZQ2u4qfixV/ZxO9eXMKi7cR9Qe16I4Sw HhVGzXnvQ6n5gaZuKmCEqOOWbw7Ynx1P60NLFqZDJek23I85u+GYdZONOBqLaKy3 AV9poDWWQssqoS3O8IvHW6JynUfECvSJRP6X5Dz31z/RO5Ou7WvOrTCjaiZ3uM4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=sasl; b=gVmX3v vzXdXUTDJKg+KNG7YD6+Zlf0+vI4e0pA+W48cfUFDSdSKEGD/TX93BsJAM39ZVxn nZfshkqJVO78lbISrnOLfnDpBd6Quf45n+MobaS7IlYLUtcSIGGRzLI5FC5Jk5Gb 0b+PEKl5DhKiPekR9988CmfmLSPbXlaN6sWDE= Original-Received: from a-pb-sasl-quonix. (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 80E0FD2C72; Fri, 3 Sep 2010 12:47:56 -0400 (EDT) Original-Received: from unquote.localdomain (unknown [66.92.56.34]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 2BEB1D2C71; Fri, 3 Sep 2010 12:47:55 -0400 (EDT) In-Reply-To: <87bp8ej3w3.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Fri, 03 Sep 2010 16:30:36 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: 00B335F8-B77B-11DF-9C65-030CEE7EF46B-02397024!a-pb-sasl-quonix.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:10849 Archived-At: Hi! On Fri 03 Sep 2010 07:30, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > I'm pleased to announce that (system foreign) supports callbacks via the > new =E2=80=98procedure->pointer=E2=80=99: > > How do you like it? Ludovic, that is breathtakingly great. My heart went aflutter looking at the f-callback-1 test :-)) Only two thoughts: 1) Do we need to trampoline through a scm_with_guile in the callback stub? 2) Your commit has some tabs in it ;) Cheers, A --=20 http://wingolog.org/