pokeplatinum/lib/include/cw/function_target.h
luckytyphlosion 486ec0e42f Add in NitroSDK headers.
From pokeheartgold.
2022-12-22 17:15:56 -05: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