VecPushBackArr
Description
Append count elements from arr to the end of the vector, taking ownership of the source range when no deep-copy handler is configured. Default unsuffixed form aliasing to the L (ownership) variant. See VecPushBackArrL for the full SUCCESS/FAILURE contract.
Usage example (Cross-references)
Usage examples (Cross-references)
- In
VecCharPtr.c:312:
}
VecPushBackArr(vec, temp_strings, count);
// Clean up temp strings
- In
VecStr.c:319:
}
VecPushBackArr(vec, temp_strings, count);
}
break;- In
Vec.Insert.c:118:
// Test VecPushBackArr function
bool test_vec_push_back_arr(void) {
WriteFmt("Testing VecPushBackArr\n");
// Create a vector of integers
- In
Insert.h:795:
#define VecMustPushBackArr(v, arr, count) \
do { \
if (!VecPushBackArr((v), (arr), (count))) { \
LOG_FATAL("VecMustPushBackArr failed"); \
} \
Last updated on