| _rom_call_attr | Function (Macro Constructor)

default.h

#define _rom_call_attr(type,args,attr,index) (*({
| typedef __ATTR_TIOS__ attr type (*__temp__type__) args;
| (__temp__type__) (__rom_call_addr_concat (0x##index, _ROM_CALL_##index));
}))

Constructs a function definition with attributes for a TIOS ROM call.

_rom_call_attr works exactly like _rom_call, except that it takes an additional parameter attr to specify attributes for the function.

See also: _rom_call