changed EXIT_CODES type to enum
I think it doesn't matter, but I have no idea :D
This commit is contained in:
parent
c020bfc602
commit
45beb5bb65
@ -2,11 +2,14 @@
|
|||||||
#define WHY2_FLAGS_H
|
#define WHY2_FLAGS_H
|
||||||
|
|
||||||
//CONSTS
|
//CONSTS
|
||||||
#define SUCCESS 0 //EXIT CODE FOR SUCCESSFUL RUN
|
const enum EXIT_CODES //exit codes you fucking idiot
|
||||||
#define INVALID_KEY 1 //EXIT VALUE FOR INVALID KEY
|
{
|
||||||
#define INVALID_TEXT 4 //EXIT VALUE FOR INVALID TEXT
|
SUCCESS = 0, //EXIT CODE FOR SUCCESSFUL RUN
|
||||||
#define DOWNLOAD_FAILED 2 //EXIT VALUE FOR versions.json DOWNLOAD FAILED
|
INVALID_KEY = 1, //EXIT VALUE FOR INVALID KEY
|
||||||
#define UPDATE_FAILED 3 //EXIT VALUE FOR UPDATE FAILED
|
INVALID_TEXT = 4, //EXIT VALUE FOR INVALID TEXT
|
||||||
|
DOWNLOAD_FAILED = 2, //EXIT VALUE FOR versions.json DOWNLOAD FAILED
|
||||||
|
UPDATE_FAILED = 3 //EXIT VALUE FOR UPDATE FAILED
|
||||||
|
};
|
||||||
|
|
||||||
#define VERSION "v4.3.1" //VERSION OF CURRENT BUILD > DO NOT TOUCH THIS <
|
#define VERSION "v4.3.1" //VERSION OF CURRENT BUILD > DO NOT TOUCH THIS <
|
||||||
#define VERSIONS_URL "https://raw.githubusercontent.com/ENGO150/WHY2/release/versions.json" //URL FOR GETTING versions.json
|
#define VERSIONS_URL "https://raw.githubusercontent.com/ENGO150/WHY2/release/versions.json" //URL FOR GETTING versions.json
|
||||||
|
Loading…
x
Reference in New Issue
Block a user