OmfObj_reftodatseg

Refer to address that is in the data segment. Input: seg = where the address is going offset = offset within seg val = displacement from address targetdatum = DATA, CDATA or UDATA, depending where the address is flags = CFoff, CFseg

version(COMPILE)
extern (C++) nothrow @safe @trusted
void
OmfObj_reftodatseg
(
int seg
,
targ_size_t offset
,
targ_size_t val
,,
int flags
)

Examples

int *abc = &def[3]; to allocate storage: OmfObj_reftodatseg(DATA,offset,3 * (int *).sizeof,UDATA);

Meta