void rtinfo(const char *fmt,...)
void * rtrealloc(void *mem, size_t size)
void * rtalloc(size_t size)
Raster core memory management functions.
void default_rt_info_handler(const char *fmt, va_list ap)
void * default_rt_reallocator(void *mem, size_t size)
void * default_rt_allocator(size_t size)
The default memory/logging handlers installed by lwgeom_install_default_allocators() ...
void rt_set_handlers(rt_allocator allocator, rt_reallocator reallocator, rt_deallocator deallocator, rt_message_handler error_handler, rt_message_handler info_handler, rt_message_handler warning_handler)
This function is called when the PostgreSQL backend is taking care of the memory and we want to use p...
void default_rt_deallocator(void *mem)
void default_rt_warning_handler(const char *fmt, va_list ap)
static struct rt_context_t ctx_t
void rtdealloc(void *mem)
void rt_install_default_allocators(void)
Useful in raster core testing and in the (future) loader, when we need to use raster core functions b...
void rterror(const char *fmt,...)
Raster core error and info handlers.
void rtwarn(const char *fmt,...)
void default_rt_error_handler(const char *fmt, va_list ap)