MobilityDB 1.1

◆ DATUM_FREE

#define DATUM_FREE (   value,
  basetype 
)
Value:
do { \
if (! basetype_byvalue(basetype)) \
pfree(DatumGetPointer(value)); \
} while (0)
bool basetype_byvalue(meosType type)
Return true if the values of the base type are passed by value.
Definition: meos_catalog.c:255
#define DatumGetPointer(X)
Definition: postgres.h:612