#include <stdlib.h>
#include <stdio.h>
+#include <string.h>
#include "mymemory.h"
+#include "common.h"
/**
* Hashtable linked node class, for chained storage of hash table conflicts. By
unsigned int oldcapacity = capacity;
if((newtable = (struct hashlistnode<_Key,_Val> *) _calloc(newsize, sizeof(struct hashlistnode<_Key,_Val>))) == NULL) {
- printf("Calloc error %s %d\n", __FILE__, __LINE__);
+ model_print("Calloc error %s %d\n", __FILE__, __LINE__);
exit(-1);
}