PostGIS  3.0.0dev-r@@SVN_REVISION@@

◆ lwt_CreateBackendIface()

LWT_BE_IFACE* lwt_CreateBackendIface ( const LWT_BE_DATA data)

Create a new backend interface.

Ownership to caller delete with lwt_FreeBackendIface

Parameters
dataBackend data, passed as first parameter to all callback functions

Definition at line 52 of file lwgeom_topo.c.

References LWT_BE_IFACE_T::cb, LWT_BE_IFACE_T::data, ovdump::data, and lwalloc().

53 {
54  LWT_BE_IFACE *iface = lwalloc(sizeof(LWT_BE_IFACE));
55  iface->data = data;
56  iface->cb = NULL;
57  return iface;
58 }
data
Definition: ovdump.py:103
const LWT_BE_CALLBACKS * cb
const LWT_BE_DATA * data
void * lwalloc(size_t size)
Definition: lwutil.c:227
Here is the call graph for this function: