1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#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 } static inline bool feature_pgo(void) { #if defined(FOOT_PGO_ENABLED) && FOOT_PGO_ENABLED return true; #else return false; #endif }