Register allocation functions for custom allocators.  
More...
Register allocation functions for custom allocators. 
◆ ic_free_fun_t
      
        
          | typedef void() ic_free_fun_t(void *p) | 
      
 
 
◆ ic_malloc_fun_t
      
        
          | typedef void*() ic_malloc_fun_t(size_t size) | 
      
 
 
◆ ic_realloc_fun_t
      
        
          | typedef void*() ic_realloc_fun_t(void *p, size_t newsize) | 
      
 
 
◆ ic_free()
Free a potentially custom alloc'd pointer (in particular, the result returned from ic_readline) 
 
 
◆ ic_init_custom_alloc()
Initialize with custom allocation functions. 
This must be called as the first function in a program! 
 
 
◆ ic_malloc()
      
        
          | void* ic_malloc | ( | size_t | sz | ) |  | 
      
 
Allocate using the current memory allocator. 
 
 
◆ ic_strdup()
      
        
          | const char* ic_strdup | ( | const char * | s | ) |  | 
      
 
Duplicate a string using the current memory allocator.