9 #ifndef GRASS_RASTER3D_H
56 Rast3d_error(
"Rast3d_cache_hash_new: error in Rast3d_malloc");
65 Rast3d_error(
"Rast3d_cache_hash_new: error in Rast3d_malloc");
80 "Rast3d_cache_hash_remove_name: name %i out of range",
name);
84 "Rast3d_cache_hash_remove_name: name %i not in hashtable",
name);
100 "Rast3d_cache_hash_load_name: name already in hashtable");
void Rast3d_cache_hash_reset(Rast3d_cache_hash *h)
void Rast3d_cache_hash_load_name(Rast3d_cache_hash *h, int name, int index)
void * Rast3d_cache_hash_new(int nofNames)
void Rast3d_cache_hash_dispose(Rast3d_cache_hash *h)
int Rast3d_cache_hash_name2index(Rast3d_cache_hash *h, int name)
void Rast3d_cache_hash_remove_name(Rast3d_cache_hash *h, int name)
void Rast3d_free(void *)
Same as free (ptr).
void Rast3d_error(const char *,...) __attribute__((format(printf
void Rast3d_fatal_error(const char *,...) __attribute__((format(printf
void * Rast3d_malloc(int)
Same as malloc (nBytes), except that in case of error Rast3d_error() is invoked.