chsvlib
chsv helper source code
◆
ListPushFrontValueByValue()
EXTERN_C
bool Chusov::ListPushFrontValueByValue
(
HCHSVLIST
hList
,
const void *
lpVal
,
std::size_t
nValueSize
)
noexcept
Creates the first element of the list and copies data into its buffers.
Parameters
hList
is a handle to the list.
lpVal
is a pointer to data to be inserted to the list.
nValueSize
is a size of the data in bytes.
Returns
true on success, false on failure.
Remarks
The list is not thread-safe.
The functions like
ListPushBackValueByValue()
,
ListPushFrontValueByValue()
,
ListInsertValueAfterIterByValue()
,
ListInsertValueBeforeIterByValue()
or
ListIterSetValueByValue()
perform per byte copying to the new element's internal buffers. This may not be applicable to the C++ objects.
Declared in
chsvlist.h
.
Chusov
Generated on Wed Mar 22 2023 01:03:40 for chsvlib by
1.9.1