Made darr in DArray_at const. Added ScufContResult_to_str().
This commit is contained in:
@@ -1,11 +1,20 @@
|
||||
#ifndef SCUFCONT_H_
|
||||
#define SCUFCONT_H_
|
||||
|
||||
#define SCUFCONT_RESULT_X(X) \
|
||||
X(SCUFCONT_SUCCESS) \
|
||||
X(SCUFCONT_OUT_OF_MEMORY)
|
||||
|
||||
#define X(val) val,
|
||||
|
||||
typedef enum {
|
||||
SCUFCONT_SUCCESS,
|
||||
SCUFCONT_OUT_OF_MEMORY
|
||||
SCUFCONT_RESULT_X(X)
|
||||
} ScufContResult;
|
||||
|
||||
#undef X
|
||||
|
||||
extern const char* SCUFCONT_VERSION;
|
||||
|
||||
const char* ScufContResult_to_str(const ScufContResult res);
|
||||
|
||||
#endif // SCUFCONT_H_
|
||||
|
||||
Reference in New Issue
Block a user