PostGIS  3.7.0dev-r@@SVN_REVISION@@

◆ galloc()

static Data__Geometry* galloc ( Data__Geometry__Type  type)
static

Definition at line 36 of file geobuf.c.

36  {
37  Data__Geometry *geometry;
38  geometry = palloc (sizeof (Data__Geometry));
39  data__geometry__init(geometry);
40  geometry->type = type;
41  return geometry;
42 }
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: