PostGIS
2.4.9dev-r@@SVN_REVISION@@
|
#define TYPMOD_GET_SRID | ( | typmod | ) | ((((typmod) & 0x0FFFFF00) - ((typmod) & 0x10000000)) >> 8) |
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 165 of file liblwgeom.h.
Referenced by geography_typmod_in(), postgis_typmod_out(), postgis_typmod_srid(), postgis_valid_typmod(), and test_typmod_macros().