From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: dsmich@roadrunner.com Newsgroups: gmane.lisp.guile.bugs Subject: bug#41981: Reference Manual on Vtables: Missing Information on Permission "h" Date: Sun, 21 Jun 2020 16:29:20 +0000 Message-ID: References: <87h7v4o7bl.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=_52385ca06dfc66f97c4a06c19e36ee52" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="83290"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "'41981@debbugs.gnu.org'" <41981@debbugs.gnu.org> To: "'sebastian.miele@gmail.com'" Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Sun Jun 21 18:30:09 2020 Return-path: Envelope-to: guile-bugs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jn2rA-000LY0-CV for guile-bugs@m.gmane-mx.org; Sun, 21 Jun 2020 18:30:08 +0200 Original-Received: from localhost ([::1]:44040 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jn2r9-0001VY-AN for guile-bugs@m.gmane-mx.org; Sun, 21 Jun 2020 12:30:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53690) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jn2r5-0001VR-6F for bug-guile@gnu.org; Sun, 21 Jun 2020 12:30:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49292) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jn2r4-0000Sj-Sh for bug-guile@gnu.org; Sun, 21 Jun 2020 12:30:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jn2r4-0000V2-KZ for bug-guile@gnu.org; Sun, 21 Jun 2020 12:30:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87h7v4o7bl.fsf@gmail.com> Resent-From: dsmich@roadrunner.com Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Sun, 21 Jun 2020 16:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41981 X-GNU-PR-Package: guile Original-Received: via spool by 41981-submit@debbugs.gnu.org id=B41981.15927569691844 (code B ref 41981); Sun, 21 Jun 2020 16:30:02 +0000 Original-Received: (at 41981) by debbugs.gnu.org; 21 Jun 2020 16:29:29 +0000 Original-Received: from localhost ([127.0.0.1]:60838 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jn2qX-0000Tg-3h for submit@debbugs.gnu.org; Sun, 21 Jun 2020 12:29:29 -0400 Original-Received: from p-impout008aa.msg.pkvw.co.charter.net ([47.43.26.139]:50176 helo=p-impout001.msg.pkvw.co.charter.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jn2qV-0000TP-AD for 41981@debbugs.gnu.org; Sun, 21 Jun 2020 12:29:27 -0400 Original-Received: from localhost ([54.243.7.172]) by cmsmtp with ESMTP id n2qOj7Td6rzR3n2qOjY1sg; Sun, 21 Jun 2020 16:29:21 +0000 X-Authority-Analysis: v=2.3 cv=Ne6YKFL4 c=1 sm=1 tr=0 a=ZhHbwgLlxfPm5G22ibXkng==:117 a=ZhHbwgLlxfPm5G22ibXkng==:17 a=dSg6v7tjMxUA:10 a=CBOLoNZij_M0PpjjjAgA:9 a=QEXdDO2ut3YA:10 a=pGLkceISAAAA:8 a=XGPFnEA_GmDCJZclgAMA:9 a=_W_S_7VecoQA:10 X-Mailer: Atmail X-Originating-IP: [65.185.85.154] X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal X-CMAE-Envelope: MS4wfC43UP0MF8tY3ZRzg7rdAgBNvjpmx9b0PQ2LImcCLnB/09HA/XmpmRySHbzqn5/Mo6qyk0tMp00hTrODo3PL5M7QILlFHI8OKydHKLJrJ90Pz3IP7ZyF tSzrhuJXzksM1yOH4JsneTBA5gvEOIuGgcRYm4sItCuHUKbUGE5ex5JKHucAvLAgbF7iNCEdlL/qIfNCi8b4QZbBn1JLABZjzH8= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.io gmane.lisp.guile.bugs:9820 Archived-At: --=_52385ca06dfc66f97c4a06c19e36ee52 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Is is documented in the docstring:=0A=0Ascheme@(guile-user)> ,d make-str= uct-layout=0A- Scheme Procedure: make-struct-layout fields=0A Return a n= ew structure layout object.=0A=0A FIELDS must be a string made up of pai= rs of characters strung=0A together. The first character of each pair de= scribes a field type,=0A the second a field protection. Allowed types ar= e 'p' for=0A GC-protected Scheme data, 'u' for unprotected binary data.= Allowed=0A protections are 'w' for normal fields or 'h' for hidden fiel= ds.=0A=0A Hidden fields are writable, but they will not consume an=0A in= itializer arg passed to `make-struct'. They are useful to add=0A slots t= o a struct in a way that preserves backward-compatibility=0A with existi= ng calls to `make-struct', especially for derived=0A vtables.=0A=0A --=_52385ca06dfc66f97c4a06c19e36ee52 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Is is documented in the docstring:

scheme@(guile-user= )> ,d make-struct-layout
- Scheme Procedure: make-struct-layout fi= elds
     Return a new structure layout object.
     FIELDS must be a string made up of pairs= of characters strung
     together.  The fi= rst character of each pair describes a field type,
   =   the second a field protection.  Allowed types are 'p' for     GC-protected Scheme data, 'u' for unprotected= binary data.  Allowed
     protections are= 'w' for normal fields or 'h' for hidden fields.

  &nbs= p;  Hidden fields are writable, but they will not consume an
&nb= sp;    initializer arg passed to `make-struct'.  The= y are useful to add
     slots to a struct in a w= ay that preserves backward-compatibility
     wit= h existing calls to `make-struct', especially for derived
  = ;   vtables.


=0A --=_52385ca06dfc66f97c4a06c19e36ee52--