From 68633baf0a7575c9c178a3ca93dbaf8d29ec0442 Mon Sep 17 00:00:00 2001 From: Dvir Volk Date: Mon, 2 May 2016 15:58:02 +0300 Subject: [PATCH] removed some print --- rmutil/vector.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rmutil/vector.c b/rmutil/vector.c index 9c8a531..3902405 100644 --- a/rmutil/vector.c +++ b/rmutil/vector.c @@ -31,6 +31,8 @@ int __vector_PutPtr(Vector *v, int pos, void *elem) { if (pos > v->top) { v->top = pos; } + + //printf("v: %s",v->data); return 1; } @@ -47,7 +49,7 @@ int Vector_Resize(Vector *v, int newcap) { Vector *__newVectorSize(size_t elemSize, size_t cap) { - printf("allocating %zd elems of %zd size\n", cap, elemSize); + Vector *vec = malloc(sizeof(Vector)); vec->data = calloc(cap, elemSize); vec->top = 0;