Files
ivy/common/include/ivy/status.h
Max Wash 646a851a10 meta: add msvc support
since bluelib is already cross-platform, this is mostly just adding
__declspec(dllexport) to the library functions.
2024-11-14 19:30:36 +00:00

18 lines
316 B
C

#ifndef IVY_COMMON_STATUS_H_
#define IVY_COMMON_STATUS_H_
#include <ivy/misc.h>
enum ivy_status {
IVY_OK = 0,
IVY_ERR_EOF = -1,
IVY_ERR_IO_FAILURE = -2,
IVY_ERR_BAD_SYNTAX = -3,
IVY_ERR_NO_MEMORY = -4,
IVY_ERR_NOT_SUPPORTED = -5,
};
IVY_API const char *ivy_status_to_string(enum ivy_status status);
#endif