PostGIS  2.4.9dev-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 53 of file lwgeom_topo.c.

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

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