Files
bluelib/core/status.c

16 lines
342 B
C
Raw Normal View History

2024-08-03 07:54:28 +01:00
#include <blue/core/status.h>
#include <stddef.h>
#define ENUM_STR(s) \
case s: \
return #s;
const char *b_status_to_string(b_status status)
{
switch (status) {
ENUM_STR(B_SUCCESS);
default:
return NULL;
}
}