Changeset 1872 for trunk/src/kmk/make.h


Ignore:
Timestamp:
Oct 17, 2008, 2:05:27 AM (17 years ago)
Author:
bird
Message:

incdep: use an allocation cache for the records to reduce xmalloc and free calls.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/make.h

    r1870 r1872  
    521521void alloccache_init (struct alloccache *cache, unsigned int size, const char *name,
    522522                      void *(*grow_alloc)(void *grow_arg, unsigned int size), void *grow_arg);
     523void alloccache_term (struct alloccache *cache,
     524                      void (*term_free)(void *term_arg, void *ptr, unsigned int size), void *term_arg);
    523525void alloccache_join (struct alloccache *cache, struct alloccache *eat);
    524526void alloccache_print (struct alloccache *cache);
Note: See TracChangeset for help on using the changeset viewer.