FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kDataTree_ItemData ( kDataTree  tree,
kDataTreeItem  item,
kObject value,
kAlloc  allocator 
)

Gets item content as a data object.

The data object returned by this function is a clone of the original; ownership of the cloned object is transferred to the caller. Call kObject_Dispose to free the cloned object.

Parameters
treeTree object.
itemTree item.
valueReceives content as a data object.
allocatorMemory allocator (or kNULL for default).
Returns
Operation status.