Function anjay_send_batch_acquire
Defined in File lwm2m_send.h
Function Documentation
-
anjay_send_batch_t *anjay_send_batch_acquire(const anjay_send_batch_t *batch)
Increments the refcount for a *batch. Must always be used if batch would be referenced out of current scope, especially when the pointer would be saved to an object that is dynamically allocated. Each call of this function must have complementary anjay_send_batch_release call at some point.
- Parameters:
batch – Non-null batch which refcount will be incremented
- Returns:
batch