GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <unistd.h>
#include <rpc/types.h>
#include <rpc/xdr.h>
#include "G3d_intern.h"
Go to the source code of this file.
Functions | |
void * | G3d_malloc (int nBytes) |
Same as malloc (nBytes), except that in case of error G3d_error() is invoked. More... | |
void * | G3d_realloc (void *ptr, int nBytes) |
Same as realloc (ptr, nBytes), except that in case of error G3d_error() is invoked. More... | |
void | G3d_free (void *buf) |
Same as free (ptr). More... | |
void G3d_free | ( | void * | buf | ) |
Same as free (ptr).
ptr |
Definition at line 71 of file g3dalloc.c.
References free().
Referenced by G3d_cache_dispose(), G3d_cache_hash_dispose(), G3d_closeCell(), G3d_flushIndex(), G3d_freeTiles(), G3d_getStandard3dParams(), G3d_initIndex(), G3d_makeAlignedVolumeFile(), G3d_openCellOld(), and G3d_setUnit().
void* G3d_malloc | ( | int | nBytes | ) |
Same as malloc (nBytes), except that in case of error G3d_error()
is invoked.
nBytes |
Definition at line 24 of file g3dalloc.c.
References buf, G3d_error(), malloc(), and NULL.
Referenced by G3d_allocTilesType(), G3d_cache_hash_new(), G3d_cache_new(), G3d_fillHeader(), G3d_flushIndex(), G3d_initFpXdr(), G3d_initIndex(), G3d_makeAlignedVolumeFile(), G3d_openCellNew(), G3d_openCellOld(), G3d_openCellOldNoHeader(), and G3d_setStandard3dInputParams().
void* G3d_realloc | ( | void * | ptr, |
int | nBytes | ||
) |
Same as realloc (ptr, nBytes), except that in case of error G3d_error()
is invoked.
ptr | |
nBytes |
Definition at line 50 of file g3dalloc.c.
References G3d_error(), and NULL.
Referenced by G3d_fillHeader(), and G3d_initFpXdr().