Determines whether an interface is suitable for re-use.
capi
interface-reuse-p interface &rest initargs &key &allow-other-keys => reusep
interface⇩ |
An instance of a subclass of interface. |
initargs⇩ |
Initargs for interface. |
reusep |
A boolean. |
The generic function interface-reuse-p
returns a true value if interface is suitable for reuse with initargs.
interface-reuse-p
is used by locate-interface if no matching interface is found first by interface-match-p. In this case, when there is an interface for which interface-reuse-p
returns true, then locate-interface reinitializes it by reinitialize-interface and returns it.
interface-reuse-p
should not be confused with reuse-interfaces-p, which determines the global re-use state.
CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:27