mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-23 04:50:28 +02:00
*** empty log message ***
This commit is contained in:
parent
3ad4ed2c8b
commit
a75d54876c
1 changed files with 3 additions and 11 deletions
|
@ -2664,12 +2664,6 @@ The default @code{class-redefinition} method, specialized for classes
|
||||||
with the default metaclass @code{<class>}, has the following internal
|
with the default metaclass @code{<class>}, has the following internal
|
||||||
protocol.
|
protocol.
|
||||||
|
|
||||||
[ *fixme* I'm not sure that I understand this sufficiently to explain
|
|
||||||
it. Also, the internals of the default class redefinition method are
|
|
||||||
extremely implementation-specific, and I'm not sure that there is that
|
|
||||||
much point trying to describe the internal protocol such that it could
|
|
||||||
be customized without going to look at the source code. ]
|
|
||||||
|
|
||||||
@code{class-redefinition @var{(old <class>)} @var{(new <class>)}}
|
@code{class-redefinition @var{(old <class>)} @var{(new <class>)}}
|
||||||
(method)
|
(method)
|
||||||
|
|
||||||
|
@ -2685,15 +2679,13 @@ be customized without going to look at the source code. ]
|
||||||
@end itemize
|
@end itemize
|
||||||
|
|
||||||
The default @code{update-direct-subclass!} method invokes
|
The default @code{update-direct-subclass!} method invokes
|
||||||
@code{class-redefinition} recursively to handle the redefinition of the
|
@code{class-redefinition} recursively to handle the redefinition of
|
||||||
subclass.
|
subclasses.
|
||||||
|
|
||||||
When a class is redefined, any existing instance of the redefined class
|
When a class is redefined, any existing instance of the redefined class
|
||||||
will be modified for the new class definition before the next time that
|
will be modified for the new class definition before the next time that
|
||||||
any of the instance's slot is referenced or set. GOOPS modifies each
|
any of the instance's slot is referenced or set. GOOPS modifies each
|
||||||
instance by calling the generic function @code{change-class}. [ *fixme*
|
instance by calling the generic function @code{change-class}.
|
||||||
Actually it sometimes calls @code{change-class} and sometimes
|
|
||||||
@code{change-object-class}, and I don't understand why. ]
|
|
||||||
|
|
||||||
The default @code{change-class} method copies slot values from the old
|
The default @code{change-class} method copies slot values from the old
|
||||||
to the modified instance, and initializes new slots, as described in
|
to the modified instance, and initializes new slots, as described in
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue