MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / _array__assign

Function _array__assign

codegraph-kernel/grammars/lua/tree_sitter/array.h:195–199  ·  view source on GitHub ↗

This is not what you're looking for, see `array_assign`.

Source from the content-addressed store, hash-verified

193
194/// This is not what you're looking for, see `array_assign`.
195static inline void _array__assign(Array *self, const Array *other, size_t element_size) {
196 _array__reserve(self, element_size, other->size);
197 self->size = other->size;
198 memcpy(self->contents, other->contents, self->size * element_size);
199}
200
201/// This is not what you're looking for, see `array_swap`.
202static inline void _array__swap(Array *self, Array *other) {

Callers

nothing calls this directly

Calls 1

_array__reserveFunction · 0.70

Tested by

no test coverage detected