Commit baf33809 by Marcus Winter

examples: changed MTAPI_CHECK_STATUS to use exit

parent 91afcb9c
#include <stdlib.h>
#include <stdio.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(); \
printf("...error %d\n\n", status); \
exit(status); \
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment