All Manuals > CAPI User Guide and Reference Manual > 21 CAPI Reference Entries

NextPrevUpTopContentsIndex

interface-reuse-p

Generic Function
Summary

Determines whether an interface is suitable for re-use.

Package

capi

Signature

interface-reuse-p interface &rest initargs &key
&allow-other-keys => reusep

Arguments

interface

An instance of a subclass of interface.

initargs

Initargs for interface .

Values

reusep

A boolean.

Description

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.

Notes

interface-reuse-p should not be confused with reuse-interfaces-p, which determines the global re-use state.

See also

interface-match-p
locate-interface


CAPI User Guide and Reference Manual (Windows version) - 25 Feb 2015

NextPrevUpTopContentsIndex