2 Star 8 Fork 1

小鱼干 / RainbowLexer

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
commander.h 707 Bytes
一键复制 编辑 原始数据 按行查看 历史
//DOUBLE OPTION
//SINGLE OPTION
#define COMMANDER__H
#define DOUBLE_STRING_OPTION
#define IGNORE_MIN (LONG_MAX-10000)
#define IGNORE_MAX (LONG_MAX)
#ifdef _WIN32
#define RainbowLexerPublic(type) extern type __cdecl
#define RainbowLexerPrivate(type) static type __cdecl
#else
#define RainbowLexerPublic(type) extern type
#define RainbowLexerPrivate(type) static type
#endif
typedef struct __Commandtoken__
{
char* token;
long long id;
}RainbowCommandToken;
RainbowLexerPublic(void) RainbowCommanderLex(const char* string);
RainbowLexerPublic(RainbowCommandToken*) RainbowCommanderNext();
RainbowLexerPublic(void) RainbowCommanderQueueClear();
#define ID_NUM (12)
#define ID_VAR (-1)
#define ID_STRING (11)
C
1
https://gitee.com/bupt_xyg/RainbowLexer.git
git@gitee.com:bupt_xyg/RainbowLexer.git
bupt_xyg
RainbowLexer
RainbowLexer
master

搜索帮助