PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ rt_set_handlers_options()

void rt_set_handlers_options ( rt_allocator  allocator,
rt_reallocator  reallocator,
rt_deallocator  deallocator,
rt_message_handler  error_handler,
rt_message_handler  info_handler,
rt_message_handler  warning_handler,
rt_options  options_handler 
)

Definition at line 169 of file rt_context.c.

173{
174 ctx_t.alloc = allocator;
175 ctx_t.realloc = reallocator;
176 ctx_t.dealloc = deallocator;
177
178 ctx_t.err = error_handler;
179 ctx_t.info = info_handler;
180 ctx_t.warn = warning_handler;
181
182 ctx_t.options = options_handler;
183}
static struct rt_context_t ctx_t
Definition rt_context.c:124
rt_message_handler warn
Definition rt_context.c:118
rt_message_handler info
Definition rt_context.c:119
rt_allocator alloc
Definition rt_context.c:114
rt_message_handler err
Definition rt_context.c:117
rt_reallocator realloc
Definition rt_context.c:115
rt_options options
Definition rt_context.c:120
rt_deallocator dealloc
Definition rt_context.c:116

References rt_context_t::alloc, ctx_t, rt_context_t::dealloc, rt_context_t::err, rt_context_t::info, rt_context_t::options, rt_context_t::realloc, and rt_context_t::warn.

Referenced by _PG_init(), and rt_set_handlers().

Here is the caller graph for this function: