Fix implementation of %fast-slot-ref and %fast-slot-set!
authorNeil Jerram <neil@ossau.uklinux.net>
Sun, 4 Jan 2009 21:32:23 +0000 (21:32 +0000)
committerNeil Jerram <neil@ossau.uklinux.net>
Sun, 4 Jan 2009 22:46:47 +0000 (22:46 +0000)
commita9931e4e1ab80e6b47d6d836edf834f530bd9522
tree071b6725354a340680267644936503743e2fa3c0
parent53e4bd36f3c8fc756fc091891b79e6aa16820256
Fix implementation of %fast-slot-ref and %fast-slot-set!

* libguile/goops.c (scm_sys_fast_slot_ref, scm_sys_fast_slot_set_x):
  Correct incantation for getting the number of slots of the specified
  instance.

* libguile/goops.h (SCM_NUMBER_OF_SLOTS): Removed (because wrong).

* test-suite/standalone/test-fast-slot-ref.in: New standalone test.

* configure.in: Generate test-suite/standalone/test-fast-slot-ref.

* test-suite/standalone/Makefile.am (check_SCRIPTS): Add
  test-fast-slot-ref.
configure.in
libguile/goops.c
libguile/goops.h
test-suite/standalone/.gitignore
test-suite/standalone/Makefile.am
test-suite/standalone/test-fast-slot-ref.in [new file with mode: 0644]