* goops.scm (define-extended-generics): New syntax.

(<class> <operator-class> <entity-class> <entity>): Marked as
replacements.
(upgrade-accessor): Renamed from upgrade-generic-with-setter.
(ensure-accessor, upgrade-accessor): Rewritten to accomodate the
new <accessor> class.
(merge-accessors): Provide for merging of accessors imported from
different modules under the same name.

* goops.c, goops.h (scm_class_accessor_method): Renamed from
scm_class_accessor.
(scm_class_accessor): New class.
This commit is contained in:
Mikael Djurfeldt 2003-03-11 14:50:08 +00:00
commit f8af5c6d35
6 changed files with 62 additions and 24 deletions

1
NEWS
View file

@ -99,6 +99,7 @@ Currently available duplicates handlers are:
last select the last encountered binding (override)
merge-generics merge generic functions with a common name
into an <extended-generic>
merge-accessors merge accessors with a common name
The default duplicates handler is: