PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ galloc()

static Data__Geometry* galloc ( Data__Geometry__Type  type)
static

Definition at line 36 of file geobuf.c.

References ovdump::type.

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

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:41
Here is the caller graph for this function: