Reorder option types to something sensible
This commit is contained in:
parent
7d9b89e9f8
commit
826abb2ae3
1 changed files with 5 additions and 4 deletions
|
@ -3,15 +3,16 @@
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
static const uint8_t GARGOYLE_TYPE_UINT = 1 << 0;
|
static const uint8_t GARGOYLE_TYPE_BOOL = 1 << 0;
|
||||||
static const uint8_t GARGOYLE_TYPE_BOOL = 1 << 1;
|
static const uint8_t GARGOYLE_TYPE_UINT = 1 << 1;
|
||||||
static const uint8_t GARGOYLE_TYPE_FILE = 1 << 2;
|
static const uint8_t GARGOYLE_TYPE_DBLE = 1 << 2;
|
||||||
static const uint8_t GARGOYLE_TYPE_ROPE = 1 << 3;
|
static const uint8_t GARGOYLE_TYPE_ROPE = 1 << 3;
|
||||||
static const uint8_t GARGOYLE_TYPE_DBLE = 1 << 4;
|
static const uint8_t GARGOYLE_TYPE_FILE = 1 << 4;
|
||||||
|
|
||||||
static const uint8_t GARGOYLE_ERR_SUCCESS = 0;
|
static const uint8_t GARGOYLE_ERR_SUCCESS = 0;
|
||||||
static const uint8_t GARGOYLE_ERR_UNKNOWN_OPT = 1;
|
static const uint8_t GARGOYLE_ERR_UNKNOWN_OPT = 1;
|
||||||
static const uint8_t GARGOYLE_ERR_VALUE_REQUIRED = 2;
|
static const uint8_t GARGOYLE_ERR_VALUE_REQUIRED = 2;
|
||||||
static const uint8_t GARGOYLE_ERR_INVALID_UINT = 3;
|
static const uint8_t GARGOYLE_ERR_INVALID_UINT = 3;
|
||||||
|
static const uint8_t GARGOYLE_ERR_INVALID_DBLE = 4;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue