From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.devel Subject: Re: Identifying what's usable in installed headers [was Re: RFC: Foreign objects facility] Date: Sat, 03 May 2014 01:19:33 +0200 Message-ID: <87oazf3h16.fsf@gnu.org> References: <87mwf09zhg.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1399072798 8629 80.91.229.3 (2 May 2014 23:19:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 2 May 2014 23:19:58 +0000 (UTC) Cc: guile-devel To: Doug Evans Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat May 03 01:19:51 2014 Return-path: Envelope-to: guile-devel@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 1WgMkB-0005Eq-4F for guile-devel@m.gmane.org; Sat, 03 May 2014 01:19:51 +0200 Original-Received: from localhost ([::1]:46646 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WgMkA-0004DF-Kk for guile-devel@m.gmane.org; Fri, 02 May 2014 19:19:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40016) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WgMk1-0004D9-SD for guile-devel@gnu.org; Fri, 02 May 2014 19:19:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WgMjw-0006P3-53 for guile-devel@gnu.org; Fri, 02 May 2014 19:19:41 -0400 Original-Received: from hera.aquilenet.fr ([2a01:474::1]:58027) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WgMjv-0006Ou-Tw for guile-devel@gnu.org; Fri, 02 May 2014 19:19:36 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 7F4EF25AD; Sat, 3 May 2014 01:19:34 +0200 (CEST) Original-Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id X6MIjSWB2Gf1; Sat, 3 May 2014 01:19:34 +0200 (CEST) Original-Received: from pluto (reverse-83.fdn.fr [80.67.176.83]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 2650E7F8; Sat, 3 May 2014 01:19:34 +0200 (CEST) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 14 =?utf-8?Q?Flor=C3=A9al?= an 222 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu In-Reply-To: (Doug Evans's message of "Fri, 2 May 2014 11:34:58 -0700") User-Agent: Gnus/5.130009 (Ma Gnus v0.9) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a01:474::1 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:17131 Archived-At: Doug Evans skribis: > On Fri, May 2, 2014 at 4:44 AM, Ludovic Court=C3=A8s wrote: >> Doug Evans skribis: >> >>> While function declarations are markable as being internal/external in >>> published headers (SCM_INTERNAL vs SCM_API), macros are not. >> >> Internal macros are marked by a naming convention: they are prefixed by >> =E2=80=98SCM_I=E2=80=99. > > Hi. Sorry, catching up on mail. > > So this means that struct.h:SCM_STRUCT_* are ok to use by apps, right? You got me. ;-) These ones are not documented, and some of them are clearly too low-level and expose too many implementation details (flags, indexes, etc.) =E2=80=98SCM_STRUCTP=E2=80=99, =E2=80=98SCM_STRUCT_SLOT_REF=E2=80=99, and a= few others may be OK, but there are equivalent public functions anyway, so it=E2=80=99s better to use them. I=E2=80=99m not sure what to do for this particular header. Ludo=E2=80=99.