Made darr in DArray_at const. Added ScufContResult_to_str().
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
#include "scufcont/scufcont.h"
|
||||
|
||||
const char* SCUFCONT_VERSION = _SCUFCONT_VERSION;
|
||||
|
||||
const char* ScufContResult_to_str(const ScufContResult res) {
|
||||
#define ScufContResult_to_str_case(val) \
|
||||
case val: \
|
||||
return #val;
|
||||
|
||||
switch (res) {
|
||||
SCUFCONT_RESULT_X(ScufContResult_to_str_case)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user