PostGIS  2.2.7dev-r@@SVN_REVISION@@
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 57 of file lwgeom_topo.c.

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

58 {
59  LWT_BE_IFACE *iface = lwalloc(sizeof(LWT_BE_IFACE));
60  iface->data = data;
61  iface->cb = NULL;
62  return iface;
63 }
tuple data
Definition: ovdump.py:103
const LWT_BE_CALLBACKS * cb
const LWT_BE_DATA * data
void * lwalloc(size_t size)
Definition: lwutil.c:199

Here is the call graph for this function: