This is not what you're looking for, see `array_swap`.
| 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, |
| 232 | uint32_t *other_size, uint32_t *other_capacity) { |
| 233 | uint32_t tmp_size = *self_size; |
| 234 | uint32_t tmp_capacity = *self_capacity; |
| 235 | *self_size = *other_size; |
| 236 | *self_capacity = *other_capacity; |
| 237 | *other_size = tmp_size; |
| 238 | *other_capacity = tmp_capacity; |
| 239 | } |
| 240 | |
| 241 | /// This is not what you're looking for, see `array_push` or `array_grow_by`. |
| 242 | static inline void *_array__grow(void *contents, uint32_t size, uint32_t *capacity, |
nothing calls this directly
no outgoing calls
no test coverage detected