diff options
author | Andy Wingo <wingo@pobox.com> | 2017-09-23 14:19:38 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2017-09-23 14:24:34 +0200 |
commit | f23415589a0e263e34a687b5dad1b1624e949639 (patch) | |
tree | 2117cd38e6254d4628d25e1b864861efbe9e748d /libguile/struct.h | |
parent | b0ecf83ef0f3dfbfce808c2cfc88ff0c8d9809f1 (diff) | |
download | guile-f23415589a0e263e34a687b5dad1b1624e949639.tar.gz |
GOOPS slot access protected via slot accessors, not struct perms
* module/oop/goops.scm (opaque-slot?, read-only-slot?): New helpers.
(allocate-slots): Protect opaque and read-only slots by wrapping the
slot accessors instead of relying on struct permissions.
(%compute-layout): Remove opaque-slot case.
Diffstat (limited to 'libguile/struct.h')
0 files changed, 0 insertions, 0 deletions