| 229 | } |
| 230 | |
| 231 | void *acl_allocator_mem_alloc(const char *filename, int line, |
| 232 | ACL_ALLOCATOR *allocator, acl_mem_type type) |
| 233 | { |
| 234 | const char *myname = "acl_allocator_mem_alloc"; |
| 235 | ACL_MEM_POOL *pool; |
| 236 | |
| 237 | CHECK_TYPE(type); |
| 238 | |
| 239 | pool = allocator->MemPools[type]; |
| 240 | pool->nalloc++; |
| 241 | return allocator->mem_alloc_fn(filename, line, allocator, pool); |
| 242 | } |
| 243 | |
| 244 | void acl_allocator_mem_free(const char *filename, int line, |
| 245 | ACL_ALLOCATOR *allocator, acl_mem_type type, void *obj) |
no outgoing calls
no test coverage detected
searching dependent graphs…