respect slot allocation, e.g. for <read-only-slot>
authorAndy Wingo <wingo@unquote.local>
Wed, 9 Apr 2008 23:23:06 +0000 (01:23 +0200)
committerLudovic Courtès <ludo@gnu.org>
Thu, 10 Apr 2008 21:21:30 +0000 (23:21 +0200)
commit54ee7cdfce93366c10a28e54ac14090b8c94b91b
tree542e48f6e882d6e135ac9647e6fe100158627312
parent08365ce40013cde2597e851e859ccc034fa20bd3
respect slot allocation, e.g. for <read-only-slot>

* libguile/goops.c (get_slot_value, set_slot_value): In the struct
allocation case, don't poke the slots array directly -- we should
go through struct-ref/struct-set! code so that we get the
permissions and allocation ('u' versus 'p') correct.
libguile/ChangeLog
libguile/goops.c