| 106 | } |
| 107 | |
| 108 | void *c_alloc(unsigned long size, unsigned long num, const char *file, unsigned long line) |
| 109 | { |
| 110 | ILvoid *ptr; |
| 111 | ptr = calloc(size, num); |
| 112 | if (!ptr) |
| 113 | return NULL; |
| 114 | AddToAtexit(); |
| 115 | AddTrack((unsigned long)ptr, size * num, file, line); |
| 116 | return ptr; |
| 117 | } |
| 118 | |
| 119 | |
| 120 | void *m_alloc(unsigned long size, const char *file, unsigned long line) |
nothing calls this directly
no test coverage detected