refactor: rename montauk::StatusCodes type to montauk::StatusCode
This commit is contained in:
1 parent
41de95b277
commit
c91de69189
11 files changed
+34
-34
No files matched your search
@@ -28,9 +28,9 @@ typedef enum {
|
||||
Busy = 12,
|
||||
BufferTooSmall = 13,
|
||||
OutOfMemory = 14
|
||||
} StatusCodes;
|
||||
} StatusCode;
|
||||
|
||||
inline const char* GetStatusText(StatusCodes statusCode) {
|
||||
inline const char* GetStatusText(StatusCode statusCode) {
|
||||
const char* statusText[] = {
|
||||
"Success", // 0
|
||||
"Generic failure", // 1
|
||||
@@ -56,7 +56,7 @@ inline const char* GetStatusText(StatusCodes statusCode) {
|
||||
}
|
||||
}
|
||||
|
||||
inline const char* GetStatusExplanationText(StatusCodes statusCode) {
|
||||
inline const char* GetStatusExplanationText(StatusCode statusCode) {
|
||||
const char* explanationText[] = {
|
||||
nullptr, // 0
|
||||
nullptr, // 1
|
||||
|
||||
Reference in new issue
Block a user