diff options
Diffstat (limited to 'foot-features.h')
| -rw-r--r-- | foot-features.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/foot-features.h b/foot-features.h new file mode 100644 index 00000000..8da22f6c --- /dev/null +++ b/foot-features.h @@ -0,0 +1,12 @@ +#pragma once + +#include <stdbool.h> + +static inline bool feature_ime(void) +{ +#if defined(FOOT_IME_ENABLED) && FOOT_IME_ENABLED + return true; +#else + return false; +#endif +} |
