1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-10 05:50:26 +02:00

* boot-9.scm (make-record-type): Use `set-struct-vtable-name!' to

associate a name to the record type descriptor so that the object
system can create a wrapper class for it.
This commit is contained in:
Mikael Djurfeldt 1999-03-14 16:46:04 +00:00
parent efdfceeabe
commit c8eed87557

View file

@ -394,6 +394,11 @@
(display ">" p)))
type-name
(copy-tree fields))))
;; Temporary solution: Associate a name to the record type descriptor
;; so that the object system can create a wrapper class for it.
(set-struct-vtable-name! struct (if (symbol? type-name)
type-name
(string->symbol type-name)))
struct)))
(define (record-type-name obj)