diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2025-02-11 06:28:17 +0100 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2025-02-11 06:28:17 +0100 |
| commit | 10379fdde9fa5e94a955fe35f14e5b35de2a0e5d (patch) | |
| tree | c5d6b408ebef01acf5ee5bedd6ff9e59386d139b /vec.c | |
| parent | c0ef18f1aad1c5b4d8cb0aa1e0bab8d54d99e7f6 (diff) | |
chore: Makefile
Diffstat (limited to 'vec.c')
| -rw-r--r-- | vec.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -1,4 +1,3 @@ -#include <stdio.h> #include <string.h> #include "vec.h" @@ -14,9 +13,6 @@ Vec *_Vec_new(Arena *a, int size, ptrdiff_t cap, int align) { } Vec *Vec_push(Arena *a, Vec *v, void *data) { - // printf("push: dest=%p, src=%p, size=%d\n", v->data + v->len * v->size, - // data, - // v->size); if (v->len == v->cap) { void *cpy = alloc(a, v->cap * 2, v->size, v->align); memcpy(cpy, v->data, v->len * v->size); |
