mirror of
https://github.com/Lorenzooone/Pokemon-Gen3-to-Gen-X.git
synced 2026-03-21 17:24:39 -05:00
18 lines
498 B
C
18 lines
498 B
C
#ifndef USEFUL_QUALIFIERS__
|
|
#define USEFUL_QUALIFIERS__
|
|
|
|
#define UNUSED(x) UNUSED_ ## x __attribute__((__unused__))
|
|
#define ALWAYS_INLINE __attribute__((always_inline)) static inline
|
|
#define NO_INLINE __attribute__((noinline))
|
|
#define MAX_OPTIMIZE __attribute__((optimize(3)))
|
|
#ifndef PACKED
|
|
#define PACKED __attribute__((packed))
|
|
#endif
|
|
#ifndef IWRAM_CODE
|
|
#define IWRAM_CODE
|
|
#endif
|
|
#define ARM_TARGET __attribute__((target("arm"),noinline))
|
|
#define ALIGNED(x) __attribute__((aligned(x)))
|
|
|
|
#endif
|