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

NextPrevUpTopContentsIndex

clone

Generic Function
Summary

Creates a copy of a CAPI object.

Package

capi

Signature

clone capi-object => cloned-object

Arguments

capi-object

An instance of a subclass of 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) - 25 Feb 2015

NextPrevUpTopContentsIndex