D | nrf_802154_serialization_error_helper.h | 57 #define SERIALIZATION_ERROR_RAISE_IF_FAILED(e) \ argument 60 if (e != NRF_802154_SERIALIZATION_ERROR_OK) \ 62 nrf_802154_ser_err_data_t err = {.reason = e}; \ 71 #define SERIALIZATION_ERROR(r, e, l) \ argument 74 e = r; \ 82 #define SERIALIZATION_ERROR_IF(c, r, e, l) \ argument 87 SERIALIZATION_ERROR(r, e, l); \ 95 #define SERIALIZATION_ERROR_CHECK(r, e, l) \ argument 96 SERIALIZATION_ERROR_IF(r < 0, r, e, l)
|