NULL_ITER_DATA
Description
Type specific NULL for data type Iter object is iterating over. Use this instead of NULL when comparing for nullity of Iter objects of same type.
Null value for Iter element pointers
Parameters
| Name | Direction | Description |
|---|---|---|
mi |
in | Type reference |
Usage example (Cross-references)
Usage examples (Cross-references)
- In
Access.h:97:
(ITER_DATA_TYPE(mi) *)(((u64)(mi)->data) + \
(mi)->pos * ALIGN_UP(sizeof(ITER_DATA_TYPE(mi)), (mi)->alignment)) : \
NULL_ITER_DATA(mi))
///
- In
Iter.c:381:
}
IterMove(&it, 2); // exhaust
return IterPos(&it) == NULL_ITER_DATA(&it);
}
Last updated on