PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ galloc()

static Data__Geometry* galloc ( Data__Geometry__Type  type)
static

Definition at line 37 of file geobuf.c.

37  {
38  Data__Geometry *geometry;
39  geometry = palloc (sizeof (Data__Geometry));
40  data__geometry__init(geometry);
41  geometry->type = type;
42  return geometry;
43 }
type
Definition: ovdump.py:42

References ovdump::type.

Referenced by encode_collection(), encode_line(), encode_mline(), encode_mpoint(), encode_mpoly(), encode_point(), encode_poly(), and encode_triangle().

Here is the caller graph for this function: