Next: , Previous: , Up: CLOS   [Contents][Index]


2.23.6 Sealing

Support for sealing classes and generic functions have been implemented. Please note that this interface is subject to change.

Macro: pcl:seal name (var) &rest specifiers

Seal name with respect to the given specifiers; name can be the name of a class or generic-function.

Supported specifiers are :subclasses for classes, which prevents changing subclasses of a class, and :methods which prevents changing the methods of a generic function.

Sealing violations signal an error of type pcl:sealed-error.

Function: pcl:unseal name-or-object

Remove seals from name-or-object.