dmd.backend.cgobj.OmfObj_reftodatseg
- multiple declarations
Function OmfObj_reftodatseg
Refer to address that is in the data segment.
extern(C++) void OmfObj_reftodatseg
(
int seg,
targ_size_t offset,
targ_size_t val,
uint targetdatum,
int flags
);
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
Example
int *abc = &def[3]; to allocate storage: OmfObj_reftodatseg(DATA,offset,3 * (int *).sizeof,UDATA);
Function OmfObj_reftodatseg
Refer to address that is in the data segment.
extern(C++) void OmfObj_reftodatseg
(
int seg,
targ_size_t offset,
targ_size_t val,
uint targetdatum,
int flags
);
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
Example
int *abc = &def[3]; to allocate storage: OmfObj_reftodatseg(DATA,offset,3 * (int *).sizeof,UDATA);