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