From 826abb2ae375fecd5bc6426f38d7444bdd5ac118 Mon Sep 17 00:00:00 2001 From: Nick Chambers Date: Mon, 20 Jun 2022 13:13:48 -0500 Subject: [PATCH] Reorder option types to something sensible --- include/gargoyle/codex.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/include/gargoyle/codex.h b/include/gargoyle/codex.h index aa3edd6..972a2d0 100644 --- a/include/gargoyle/codex.h +++ b/include/gargoyle/codex.h @@ -3,15 +3,16 @@ #include -static const uint8_t GARGOYLE_TYPE_UINT = 1 << 0; -static const uint8_t GARGOYLE_TYPE_BOOL = 1 << 1; -static const uint8_t GARGOYLE_TYPE_FILE = 1 << 2; +static const uint8_t GARGOYLE_TYPE_BOOL = 1 << 0; +static const uint8_t GARGOYLE_TYPE_UINT = 1 << 1; +static const uint8_t GARGOYLE_TYPE_DBLE = 1 << 2; 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_UNKNOWN_OPT = 1; 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_DBLE = 4; #endif