void * default_rt_allocator(size_t size)
The default memory/logging handlers installed by lwgeom_install_default_allocators()
void rterror(const char *fmt,...)
Raster core error and info handlers.
void default_rt_error_handler(const char *fmt, va_list ap)
void rtinfo(const char *fmt,...)
void * rtalloc(size_t size)
Raster core memory management functions.
void default_rt_deallocator(void *mem)
void rtwarn(const char *fmt,...)
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...
static struct rt_context_t ctx_t
void * rtrealloc(void *mem, size_t size)
void rtdealloc(void *mem)
void default_rt_warning_handler(const char *fmt, va_list ap)
void default_rt_info_handler(const char *fmt, va_list ap)
void * default_rt_reallocator(void *mem, size_t size)
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...