riot_sys::bindgen

Function nanocbor_leave_container

Source
pub unsafe extern "C" fn nanocbor_leave_container(
    it: *mut nanocbor_value_t,
    container: *mut nanocbor_value_t,
)
Expand description

@brief leave the container

This must be called with the same @ref nanocbor_value_t struct that was used to enter the container. Furthermore, the @p container must be at the end of the container.

@param[in] it parent CBOR structure @param[in] container exhausted CBOR container