nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ NRF_RPC_AUTO_ARR_GET

#define NRF_RPC_AUTO_ARR_GET ( _array_ptr,
_index,
_type )

#include <nrf_rpc/include/nrf_rpc_common.h>

Value:
(((_type *)((const uint8_t *const *)(_array_ptr) + 1))[_index])

Get item from the array.

Parameters
_array_ptrPointer to array.
_indexIndex of the item.
_typeType of items in array.