User Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

cl:functions:make-instances-obsolete [2019/11/11 05:00]
cl:functions:make-instances-obsolete [2019/11/14 16:00] (current)
Line 1: Line 1:
 +====== Standard Generic Function MAKE-INSTANCES-OBSOLETE ======
 +
 +====Syntax====
 +  * **make-instances-obsolete** //class// → //class//
 +
 +====Method Signatures====
 +  * **make-instances-obsolete** (//class// **[[CL:​Types:​standard-class]]**//​)
 +  * **make-instances-obsolete** (//class// **[[CL:​Types:​symbol]]**//​)
 +
 +====Arguments and Values====
 +  * //class// - a //​[[CL:​Glossary:​class designator]]//​.
 +
 +====Description====
 +The //​[[CL:​Glossary:​function]]//​ **make-instances-obsolete** has the effect of initiating the process of updating the instances of the //​[[CL:​Glossary:​class]]//​. During updating, the generic function **[[CL:​Functions:​update-instance-for-redefined-class]]** will be invoked.
 +
 +The generic function **make-instances-obsolete** is invoked automatically by the system when **[[CL:​Macros:​defclass]]** has been used to redefine an existing standard class and the set of local //​[[CL:​Glossary:​slot|slots]]//​ //​[[CL:​Glossary:​accessible]]//​ in an instance is changed or the order of //​[[CL:​Glossary:​slot|slots]]//​ in storage is changed. It can also be explicitly invoked by the user.
 +
 +If the second of the above //​[[CL:​Glossary:​method|methods]]//​ is selected, that //​[[CL:​Glossary:​method]]//​ invokes **make-instances-obsolete** on ''​(find-class //​class//​)''​.
 +
 +====Examples====
 +None.
 +
 +====Affected By====
 +None.
 +
 +====Exceptional Situations====
 +None.
 +
 +====See Also====
 +  * **[[CL:​Functions:​update-instance-for-redefined-class|Generic Function UPDATE-INSTANCE-FOR-REDEFINED-CLASS]]**
 +  * {\secref\ClassReDef}
 +
 +====Notes====
 +None.
 +