Recognize structs with both "pr" and "pw" flags as simple.
authorLudovic Courtès <ludo@gnu.org>
Mon, 25 Jan 2010 23:00:58 +0000 (00:00 +0100)
committerLudovic Courtès <ludo@gnu.org>
Mon, 25 Jan 2010 23:00:58 +0000 (00:00 +0100)
commite03b7f73e2927178f2d9485320435edb6260c311
tree1de60bf13065a5ef6bc7bf58a1e48a492c5468ff
parentbb190ddbba216251f2a8490adf9feadf0dbb7104
Recognize structs with both "pr" and "pw" flags as simple.

* libguile/struct.c (set_vtable_layout_flags): Keep the
  `SCM_VTABLE_FLAG_SIMPLE' flag when VTABLE has a mixture of `r' and `w'
  fields.

* libguile/struct.h (SCM_VTABLE_FLAG_SIMPLE): Adjust comment.
libguile/struct.c
libguile/struct.h