cbor_copy

Deep copy of an item

All the reference counts in the new structure are set to one.

@param itemborrow item to copy @return **new** CBOR deep copy

extern (C)
cbor_item_t*
cbor_copy
(
cbor_item_t* item
)

Meta