1
0

scufcont.h 373 B

123456789101112131415161718192021
  1. #ifndef SCUFCONT_H_
  2. #define SCUFCONT_H_
  3. #define SCUFCONT_RESULT_X(X) \
  4. X(SCUFCONT_SUCCESS) \
  5. X(SCUFCONT_OUT_OF_MEMORY) \
  6. X(SCUFCONT_OUT_OF_BOUNDS)
  7. #define X(val) val,
  8. typedef enum {
  9. SCUFCONT_RESULT_X(X)
  10. } ScufContResult;
  11. #undef X
  12. extern const char* SCUFCONT_VERSION;
  13. const char* ScufContResult_to_str(const ScufContResult res);
  14. #endif // SCUFCONT_H_