void* enet_malloc(size_t size) { void* memory = callbacks.malloc(size); if (memory == NULL) callbacks.no_memory(); return memory; }
void * enet_malloc (size_t size) { void * memory = callbacks.malloc (size); //if (memory == NULL) // abort (); //printf("enet_malloc %ld,%d,%d\n", (unsigned long)memory, size, ++mem_counter); return memory; }