GRASS GIS 8 Programmer's Manual
8.2.2dev(2023)-3d2c704037
|
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <unistd.h>
#include "raster3d_intern.h"
Go to the source code of this file.
Functions | |
void * | Rast3d_malloc (int nBytes) |
Same as malloc (nBytes), except that in case of error Rast3d_error() is invoked. More... | |
void * | Rast3d_realloc (void *ptr, int nBytes) |
Same as realloc (ptr, nBytes), except that in case of error Rast3d_error() is invoked. More... | |
void | Rast3d_free (void *buf) |
Same as free (ptr). More... | |
void Rast3d_free | ( | void * | buf | ) |
Same as free (ptr).
buf |
Definition at line 69 of file raster3d/alloc.c.
References free().
Referenced by Rast3d_free_tiles().
void* Rast3d_malloc | ( | int | nBytes | ) |
Same as malloc (nBytes), except that in case of error Rast3d_error()
is invoked.
nBytes |
Definition at line 22 of file raster3d/alloc.c.
References malloc(), NULL, and Rast3d_error().
Referenced by Rast3d_init_fp_xdr(), Rast3d_init_index(), and Rast3d_open_cell_old_no_header().
void* Rast3d_realloc | ( | void * | ptr, |
int | nBytes | ||
) |
Same as realloc (ptr, nBytes), except that in case of error Rast3d_error()
is invoked.
ptr | |
nBytes |
Definition at line 48 of file raster3d/alloc.c.
References NULL, and Rast3d_error().
Referenced by Rast3d_init_fp_xdr().