From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nala Ginrut Newsgroups: gmane.lisp.guile.bugs Subject: bug#18592: FFI should have portable access to =?UTF-8?Q?=E2=80=98errno=E2=80=99?= Date: Tue, 05 Jan 2016 16:38:43 +0800 Organization: HFG Message-ID: <1451983123.3594.156.camel@Renee-desktop.suse> References: <87fvf8oocf.fsf@ft.bewatermyfriend.org> <87h9vmy0zw.fsf@gnu.org> <87twzgeh3c.fsf@yeeloong.lan> <87r3uko4c9.fsf@gnu.org> <1451565229.3594.59.camel@Renee-desktop.suse> <1451909046.3594.135.camel@Renee-desktop.suse> <8760z9gw7o.fsf@netris.org> <1451934872.3594.150.camel@Renee-desktop.suse> <20160105074924.GA23165@tuxteam.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1451983169 28237 80.91.229.3 (5 Jan 2016 08:39:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Jan 2016 08:39:29 +0000 (UTC) Cc: 18592@debbugs.gnu.org To: tomas@tuxteam.de Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Tue Jan 05 09:39:13 2016 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aGN95-0002GN-KK for guile-bugs@m.gmane.org; Tue, 05 Jan 2016 09:39:11 +0100 Original-Received: from localhost ([::1]:48632 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGN94-0003N1-Sj for guile-bugs@m.gmane.org; Tue, 05 Jan 2016 03:39:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44414) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGN91-0003Mw-DI for bug-guile@gnu.org; Tue, 05 Jan 2016 03:39:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aGN8w-0003Gd-Dx for bug-guile@gnu.org; Tue, 05 Jan 2016 03:39:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49883) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGN8w-0003GZ-AN for bug-guile@gnu.org; Tue, 05 Jan 2016 03:39:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aGN8w-0001DY-5Q for bug-guile@gnu.org; Tue, 05 Jan 2016 03:39:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Nala Ginrut Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Tue, 05 Jan 2016 08:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18592 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 18592-submit@debbugs.gnu.org id=B18592.14519831344666 (code B ref 18592); Tue, 05 Jan 2016 08:39:02 +0000 Original-Received: (at 18592) by debbugs.gnu.org; 5 Jan 2016 08:38:54 +0000 Original-Received: from localhost ([127.0.0.1]:38103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGN8n-0001DB-QU for submit@debbugs.gnu.org; Tue, 05 Jan 2016 03:38:53 -0500 Original-Received: from mail-pa0-f42.google.com ([209.85.220.42]:34837) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGN8m-0001D0-VO for 18592@debbugs.gnu.org; Tue, 05 Jan 2016 03:38:53 -0500 Original-Received: by mail-pa0-f42.google.com with SMTP id do7so2146357pab.2 for <18592@debbugs.gnu.org>; Tue, 05 Jan 2016 00:38:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:to:cc:date:in-reply-to:references :organization:content-type:mime-version:content-transfer-encoding; bh=OmYXJC4UlXL9nMuHSsmtjnP4tx33DCIqUQalPnT9O1w=; b=TEr/IOA4q1h91GiwbRlkOwfrNX/xL0+y/k0kLYfQLeF/Fn4yLiKxjNAQubFrzm10l4 vURWPx8LXG5Ut2ycbTp+2fI5LK8zgd9C/IswAt/obEz2rHLeCBdR2mhpvL5GSdA8LRkZ X1EbZmiZKWOx4B3Oxq8I06FazaqdLTM0KEA8jibOn9vDYFABXDXPSVh9EUSFWsZaQeGo ojPvKl/+MIfNkybRQtKrqsVaRdHJaDj/QQgRSZ0VVk52Jj+ZXEy8FQeWpKmqpn6eXdkf Zxfc7aGQp9OIsOeEgMEUwc6hlCwO2GMao5FRzTzkXJWb7RslcUKUjDGg/g+4Xonnwmkr kZAg== X-Received: by 10.67.5.2 with SMTP id ci2mr132554887pad.47.1451983127152; Tue, 05 Jan 2016 00:38:47 -0800 (PST) Original-Received: from [147.2.147.24] ([203.192.156.9]) by smtp.gmail.com with ESMTPSA id tv6sm77181460pab.4.2016.01.05.00.38.45 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 05 Jan 2016 00:38:46 -0800 (PST) In-Reply-To: <20160105074924.GA23165@tuxteam.de> X-Mailer: Evolution 3.4.4 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:7926 Archived-At: On Tue, 2016-01-05 at 08:49 +0100, tomas@tuxteam.de wrote: > Sorry for intervening from the peanut gallery, but if I understood Mark > correctly, he only was proposing to introduce a second function for the > C API (to keep backward compatibility at the linking-to-C level). At the > Guile source level, I guess all can be subsumed under one function. > If we want to combine them in Scheme level, we have to change the name "pointer->procedure" in C level, since it's registered with SCM_DEFINE. Dunno if it breaks the ABI too. I think it's fine to make it two. And maybe keep pointer->procedure-with-errno in future version (say, 3.0), which may change ABI a lot. It's inevitable to change ABI in major version number change usually.