mtapi_check_status-snippet.h 200 Bytes
Newer Older
1 2 3 4 5 6 7
#include <stdlib.h>
#include <embb/base/c/log.h>
#define MTAPI_CHECK_STATUS(status) \
if (MTAPI_SUCCESS != status) { \
  embb_log_error("MTAPI C Example", "...error %d\n\n", status); \
  abort(); \
}