Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kReplaceRef | ( | kObject * | object,
|  | kObject | source
| ) |  |

Replaces a reference to existing object with a new object.

The existing object is disposed, the new object is shared, and the existing object reference is replaced with a reference to the new object.

Parameters

  object | Pointer to object handle to be replaced.
  source | Replacement object.

Returns
  Operation status.