chsvlib
chsv helper source code
◆
ListGetDataSizeFromIter()
EXTERN_C
std:: size_t Chusov::ListGetDataSizeFromIter
(
HCHSVLISTITERATOR
hListIterator
)
noexcept
Returns a size of the data bound with the specified iterator.
Parameters
hListIterator
is a handle to the iterator bound with an element storing data of size being determined.
Returns
On success the function returns a byte size of data of the specified list element. If the element had been inserted as a pointer (i.e. by calling
ListPushFrontValueByPtr()
,
ListPushBackValueByPtr()
,
ListInsertValueBeforeIterByPtr()
or
ListInsertValueAfterIterByPtr()
) the function returns 0. On failure the functions returns (size_t) -1.
Remarks
The list is not thread-safe.
Declared in
chsvlist.h
.
See also
ListBegin()
;
ListEnd()
;
ListIterPrev()
;
ListIterNext()
.
Chusov
Generated on Wed Mar 22 2023 01:03:40 for chsvlib by
1.9.1