Deletesorteddatarange
int Deletesorteddatarange(t_sorted *sd,ulong addr0,ulong addr1);
Passes all items that contain at least 1 address in the range addr0..addr1-1 to the optional destructor, removes them from the sorted data sd and increments sd->version. Subaddresses are ignored (that is, if sorted data was created
with flag TY_EXTADDR, this call will delete all items with addr0<=addr<addr1 dependless on subaddr). Returns number of deleted items, or 0 in the case of error.
Parameters:
sd
addr0
(in)
Starting address of the range to be deleted
addr1
(in) Ending address of the range (not included), addr1>addr0
Return
values:
None
See
also: