PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ postgis_typmod_srid()

Datum postgis_typmod_srid ( PG_FUNCTION_ARGS  )

Definition at line 417 of file gserialized_typmod.c.

References TYPMOD_GET_SRID.

Referenced by postgis_typmod_dims().

418 {
419  int32 typmod = PG_GETARG_INT32(0);
420  if ( typmod < 0 )
421  PG_RETURN_INT32(0);
422  PG_RETURN_INT32(TYPMOD_GET_SRID(typmod));
423 }
unsigned int int32
Definition: shpopen.c:273
#define TYPMOD_GET_SRID(typmod)
Macros for manipulating the &#39;typemod&#39; int.
Definition: liblwgeom.h:165
Here is the caller graph for this function: