librime: rime_api_stdbool.h Source File

| librime 1.2 Rime Input Method Engine, the core library

rime_api_stdbool.h
Go to the documentation of this file.
1#ifndef RIME_API_STDBOOL_H_
2#define RIME_API_STDBOOL_H_
3
4#include <stdbool.h>
5
6#undef RIME_FLAVORED
7#define RIME_FLAVORED(name) name##_stdbool
8
9// do not export librime 0.9 API in this build variant
10#undef RIME_DEPRECATED
11#define RIME_DEPRECATED static
12
13#undef Bool
14#define Bool bool
15
16#undef False
17#define False false
18
19#undef True
20#define True true
21
22#endif // RIME_API_STDBOOL_H_