GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-6596d49e63
|
Go to the source code of this file.
Functions | |
void * | dig_alloc_space (int n_wanted, int *n_elements, int chunk_size, void *ptr, int element_size) |
void * | dig__alloc_space (int n_wanted, int *n_elements, int chunk_size, void *ptr, int element_size) |
void * | dig_falloc (int nelem, int elsize) |
void * | dig_frealloc (void *oldptr, int nelem, int elsize, int oldnelem) |
void * | dig__falloc (int nelem, int elsize) |
void * | dig__frealloc (void *oldptr, int nelem, int elsize, int oldnelem) |
void* dig__alloc_space | ( | int | n_wanted, |
int * | n_elements, | ||
int | chunk_size, | ||
void * | ptr, | ||
int | element_size | ||
) |
Definition at line 49 of file allocation.c.
References dig__frealloc(), and G_calloc.
Referenced by dig_alloc_cats(), dig_alloc_points(), and dig_alloc_space().
void* dig__falloc | ( | int | nelem, |
int | elsize | ||
) |
void* dig__frealloc | ( | void * | oldptr, |
int | nelem, | ||
int | elsize, | ||
int | oldnelem | ||
) |
Definition at line 133 of file allocation.c.
References G_calloc.
Referenced by dig__alloc_space(), and dig_frealloc().
void* dig_alloc_space | ( | int | n_wanted, |
int * | n_elements, | ||
int | chunk_size, | ||
void * | ptr, | ||
int | element_size | ||
) |
Definition at line 33 of file allocation.c.
References dig__alloc_space(), and NULL.
void* dig_falloc | ( | int | nelem, |
int | elsize | ||
) |
Definition at line 91 of file allocation.c.
References dig__falloc(), G_sleep(), and NULL.
void* dig_frealloc | ( | void * | oldptr, |
int | nelem, | ||
int | elsize, | ||
int | oldnelem | ||
) |
Definition at line 103 of file allocation.c.
References dig__frealloc(), G_sleep(), and NULL.