VecPushFrontArrFast
- Macro
- October 8, 2025
Table of Contents
VecPushFrontArrFast
VecPushFrontArrFast
Description
Push a complete array into this vector front without preserving the order of elements in vector. By default, this uses L-value semantics (ownership transfer).
Note
Ownership trasfer takes place if vector is not creating it’s own copy of items.
Parameters
Name | Direction | Description |
---|---|---|
v | in,out | Vector to insert array items into. |
arr | in | Array to be inserted. |
count | in | Number (non-zero) of items in array. |
Success
v
Failure
Does not return on failure
Usage example (Cross-references)
- In
VecStr.c:310
:
}
VecPushFrontArrFast(vec, temp_strings, count);
VecDeinit(vec);
}
- In
VecCharPtr.c:332
:
}
VecPushFrontArrFast(vec, temp_strings, count);
// Clean up temp strings