mirror of
https://github.com/GearsProgress/Poke_Transporter_GB.git
synced 2026-04-22 17:07:53 -05:00
20 lines
577 B
C
20 lines
577 B
C
//Created by Lorenzooone https://github.com/Lorenzooone/Pokemon-Gen3-to-Gen-X
|
|
|
|
#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
|