PostGIS  2.5.7dev-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.

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

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

Here is the call graph for this function: