| _rom_call_hack_attr_concat | Function (Macro Constructor)

default.h

#define _rom_call_hack_attr_concat(type,args,attr,intindex,romindex,addr,minams,minindex) (*({

| typedef __ATTR_TIOS__ attr type (*__temp__type__hack__) args;

| (__temp__type__hack__) (MIN_AMS >= (minams) || TIOS_entries >

| (minindex) ? (const void *) (&(_rom_call_concat (void, (void), (intindex), (romindex)))) : ({

| asm (".xdef __ref_all___reject_unofficial_os");

| (const void *) (addr);

| }));

}))

Constructs a function definition with an address hack and attributes for a TIOS ROM call (internal).

_rom_call_hack_attr_concat is a macro used internally by _rom_call_hack and _rom_call_hack_attr. Its only purpose is to prevent prescan of the ROM call index (see _rom_call_addr_concat for more information).

See also: _rom_call_hack_attr, _rom_call_hack, _rom_call