[][src]Function ion_c_sys::ion_decimal_claim

pub unsafe extern "C" fn ion_decimal_claim(value: *mut ION_DECIMAL) -> iERR

If necessary, copies the given decimal's internal data so that owner of that data may safely go out of scope. This is useful, for example, when it is necessary to keep the value in scope after the reader that produced it is closed. Values produced through calls to ion_decimal_* APIs (with the possible exception of ion_decimal_from_number) do NOT need to be claimed.

@param value - The value to claim.