gargoyle/include/gargoyle/codex.h

19 lines
595 B
C
Raw Normal View History

#ifndef __GARGOYLE_CODEX_H_
#define __GARGOYLE_CODEX_H_
#include <stdint.h>
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;
2022-06-19 16:04:51 +00:00
static const uint8_t GARGOYLE_TYPE_ROPE = 1 << 3;
static const uint8_t GARGOYLE_ERR_SUCCESS = 0;
static const uint8_t GARGOYLE_ERR_UNKNOWN_OPT = 1;
2022-06-20 01:30:01 +00:00
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;
2022-06-23 01:25:28 +00:00
static const uint8_t GARGOYLE_ERR_UNKNOWN_TYPE = 5;
#endif