PostGIS  2.1.10dev-r@@SVN_REVISION@@
Datum postgis_typmod_srid ( PG_FUNCTION_ARGS  )

Definition at line 401 of file gserialized_typmod.c.

References TYPMOD_GET_SRID.

402 {
403  int32 typmod = PG_GETARG_INT32(0);
404  if ( typmod < 0 )
405  PG_RETURN_INT32(0);
406  PG_RETURN_INT32(TYPMOD_GET_SRID(typmod));
407 }
#define TYPMOD_GET_SRID(typmod)
Macros for manipulating the 'typemod' int.
Definition: liblwgeom.h:131