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

Function _array__delete

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

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

Source from the content-addressed store, hash-verified

161
162/// This is not what you're looking for, see `array_delete`.
163static inline void _array__delete(Array *self) {
164 if (self->contents) {
165 ts_free(self->contents);
166 self->contents = NULL;
167 self->size = 0;
168 self->capacity = 0;
169 }
170}
171
172/// This is not what you're looking for, see `array_erase`.
173static inline void _array__erase(Array *self, size_t element_size,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected