pokeheartgold/lib/include/cw/function_target.h
2021-09-19 17:47:24 -04:00

18 lines
473 B
C

#ifndef GUARD_CW_FUNCTION_TARGET_H
#define GUARD_CW_FUNCTION_TARGET_H
#define ARM_FUNC _Pragma("thumb off")
#define THUMB_FUNC _Pragma("thumb on")
#define ENUMS_ALWAYS_INT_ON _Pragma("enumsalwaysint on")
#define ENUMS_ALWAYS_INT_OFF _Pragma("enumsalwaysint off")
#define ENUMS_ALWAYS_INT_RESET _Pragma("enumsalwaysint reset")
#define ALIGN(num) __attribute__ ((aligned(num)))
#ifdef __CLION_IDE__
#define asm
#endif //__CLION_IDE__
#endif //GUARD_CW_FUNCTION_TARGET_H