PostGIS  3.6.1dev-r@@SVN_REVISION@@

◆ srs_state_init()

static struct srs_data* srs_state_init ( )
static

Definition at line 412 of file postgis/lwgeom_transform.c.

413 {
414  struct srs_data *state = palloc0(sizeof(*state));
415  state->capacity = 8192;
416  state->num_entries = 0;
417  state->entries = palloc0(state->capacity * sizeof(*(state->entries)));
418  return state;
419 }
struct srs_entry * entries

References srs_data::capacity, srs_data::entries, and srs_data::num_entries.

Referenced by postgis_srs_codes(), postgis_srs_entry_all(), and postgis_srs_search().

Here is the caller graph for this function: