pokediamond/include-mw/function_target.h
2020-09-16 18:21:28 +01:00

14 lines
407 B
C

#ifndef GUARD_FUNCTION_TARGET_H
#define GUARD_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)))
#endif //GUARD_FUNCTION_TARGET_H