PostGIS  2.1.10dev-r@@SVN_REVISION@@
#define TYPMOD_GET_SRID (   typmod)    ((((typmod) & 0x1FFFFF00)<<3)>>11)

Macros for manipulating the 'typemod' int.

An int32_t used as follows: Plus/minus = Top bit. Spare bits = Next 2 bits. SRID = Next 21 bits. TYPE = Next 6 bits. ZM Flags = Bottom 2 bits.

Definition at line 131 of file liblwgeom.h.

Referenced by geography_typmod_in(), postgis_typmod_out(), postgis_typmod_srid(), postgis_valid_typmod(), and test_typmod_macros().