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