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

clone Generic Function

Summary

Creates a copy of a CAPI object.

Package

capi

Signature

clone capi-object => cloned-object

Arguments
capi-object
Values
cloned-object
A copy of capi-object.
Description

The generic function clone returns a new object cloned-object which is a copy of capi-object. It does not share any data with capi-object, but has a copy of the useful part of its state.

The system contains methods on clone. You may add methods on your own interface classes.

See also

capi-object


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