This is not what you're looking for, see `array_assign`.
| 220 | |
| 221 | /// This is not what you're looking for, see `array_assign`. |
| 222 | static inline void *_array__assign(void* self_contents, uint32_t *self_size, uint32_t *self_capacity, |
| 223 | const void *other_contents, uint32_t other_size, size_t element_size) { |
| 224 | void *new_contents = _array__reserve(self_contents, self_capacity, element_size, other_size); |
| 225 | *self_size = other_size; |
| 226 | memcpy(new_contents, other_contents, *self_size * element_size); |
| 227 | return new_contents; |
| 228 | } |
| 229 | |
| 230 | /// This is not what you're looking for, see `array_swap`. |
| 231 | static inline void _array__swap(uint32_t *self_size, uint32_t *self_capacity, |
nothing calls this directly
no test coverage detected