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

destroy-dependent-object Generic Function

Summary

A mechanism to destroy objects when a pinboard-layout is destroyed.

Package

capi

Signature

destroy-dependent-object object

Method signatures

destroy-dependent-object (object cons)

destroy-dependent-object (object process)

Arguments
object
A Lisp object.
Description

The generic function destroy-dependent-object is part of a mechanism for destroying objects when a pinboard-layout is destroyed.

Objects may be registered for destruction by calling record-dependent-object and unregistered by calling unrecord-dependent-object.

The predefined destroy-dependent-object method specializing on cl:cons expects a list where the car is a function and the cdr are its arguments. It applies the function to the arguments. The predefined method specializing on mp:process calls mp:process-terminate on the process object.

See also

pinboard-layout
record-dependent-object
unrecord-dependent-object


CAPI User Guide and Reference Manual (Unix version) - 01 Dec 2021 19:32:42