Add missing typedef to MochaUtilStatus

This commit is contained in:
Maschell 2022-07-22 13:49:11 +02:00
parent c7047212aa
commit 819adf8030

View File

@ -8,7 +8,7 @@
extern "C" {
#endif
enum MochaUtilsStatus {
typedef enum MochaUtilsStatus {
MOCHA_RESULT_SUCCESS = 0,
MOCHA_RESULT_INVALID_ARGUMENT = -0x01,
MOCHA_RESULT_MAX_CLIENT = -0x02,
@ -16,7 +16,7 @@ enum MochaUtilsStatus {
MOCHA_RESULT_UNSUPPORTED_COMMAND = -0x11,
MOCHA_RESULT_LIB_UNINITIALIZED = -0x20,
MOCHA_RESULT_UNKNOWN_ERROR = -0x100,
};
} MochaUtilsStatus;
/**
* Initializes the mocha lib. Needs to be called before any other functions can be used