1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-07 18:30:25 +02:00
guile/module/rnrs
Andy Wingo 5870188eb4 Replace "pr" struct fields with "pw" fields
* libguile/struct.h (SCM_VTABLE_BASE_LAYOUT): Layout is a "pr" field.
* module/ice-9/boot-9.scm (record-type-vtable): Record vtable fields are
  writable.
  (<parameter>): "pw" fields.
* module/oop/goops.scm (<class>, %compute-layout): <read-only> fields
  are "pw" underneath.
* module/rnrs/records/procedural.scm (record-type-vtable)
  (record-constructor-vtable, make-record-type-descriptor): Use "pw"
  fields in vtables.
* module/srfi/srfi-35.scm (%condition-type-vtable)
  (struct-layout-for-condition): "pw" fields in vtables.
* test-suite/tests/goops.test:
* test-suite/tests/structs.test: Use "pw" fields only.
* benchmark-suite/benchmarks/structs.bm: Update for make-struct/no-tail,
  to use pw fields, and also to remove useless tests that the compiler
  would optimize away.
* doc/ref/api-data.texi (Vtables): Add a note about the now-vestigial
  permissions character and update documentation.
  (Structure Basics, Meta-Vtables): Update examples.
* libguile/hash.c (scm_i_struct_hash): Remove code that would handle
  opaque/self fields.
* libguile/print.h (SCM_PRINT_STATE_LAYOUT): Use "pw" fields.
* libguile/struct.c (scm_struct_init): Simplify check for hidden
  fields.
* libguile/values.c (scm_init_values): Field is "pw".
2017-09-23 15:33:02 +02:00
..
arithmetic Fix fixnum-range changes in R6RS fixnum bitops 2016-06-21 09:32:30 +02:00
io Flush when getting string from r6rs string output port 2017-03-01 14:26:11 +01:00
records Replace "pr" struct fields with "pw" fields 2017-09-23 15:33:02 +02:00
base.scm R6RS `string-for-each' should accept multiple string arguments 2012-11-22 22:26:16 +01:00
bytevectors.scm
conditions.scm
control.scm remove duplicate when/unless definitions 2012-01-20 21:16:50 +01:00
enums.scm
eval.scm
exceptions.scm Convert guile exceptions to R6RS conditions in R6RS exception handlers. 2013-11-18 00:35:42 -05:00
files.scm
hashtables.scm (rnrs hashtables): Hash functions of eq? and eqv? hashtables 2016-06-21 09:48:36 +02:00
lists.scm Fix R6RS `fold-left' so the accumulator is the first argument. 2011-11-01 01:11:46 +01:00
mutable-pairs.scm
mutable-strings.scm
programs.scm
r5rs.scm
sorting.scm
syntax-case.scm
unicode.scm