PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ srs_state_init()

static struct srs_data* srs_state_init ( )
static

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

400 {
401  struct srs_data *state = palloc0(sizeof(*state));
402  state->capacity = 8192;
403  state->num_entries = 0;
404  state->entries = palloc0(state->capacity * sizeof(*(state->entries)));
405  return state;
406 }
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: