PostGIS  3.4.0dev-r@@SVN_REVISION@@
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages

◆ lwtype_multitype()

uint8_t lwtype_multitype ( uint8_t  type)

Definition at line 370 of file lwgeom.c.

371 {
372  if (type > 15) return 0;
373  return MULTITYPE[type];
374 }
uint8_t MULTITYPE[NUMTYPES]
Look-up for the correct MULTI* type promotion for singleton types.
Definition: lwgeom.c:354
type
Definition: ovdump.py:42

References MULTITYPE, and ovdump::type.

Referenced by lwcollection_extract(), and postgis_valid_typmod().

Here is the caller graph for this function: