Go to the documentation of this file.00001
00002 #ifndef CBF_ALLOC_H
00003 #define CBF_ALLOC_H
00004
00005 #ifdef __cplusplus
00006
00007 extern "C" {
00008
00009 #endif
00010
00011 #include <stdlib.h>
00012
00013
00014
00015
00016 int cbf_alloc (void **new_block, size_t *new_nelem, size_t elsize, size_t nelem);
00017
00018
00019
00020
00021 int cbf_realloc (void **old_block, size_t *old_nelem, size_t elsize, size_t nelem);
00022
00023
00024
00025
00026 int cbf_free (void **old_block, size_t *old_nelem);
00027
00028
00029 #ifdef __cplusplus
00030
00031 }
00032
00033 #endif
00034
00035 #endif
00036