MobilityDB 1.3
Loading...
Searching...
No Matches

◆ VALIDATE_NUMSPAN

#define VALIDATE_NUMSPAN (   span,
  ret 
)
Value:
do { \
if (! ensure_not_null((void *) (span)) || \
! ensure_numspan_type((span)->spantype) ) \
return (ret); \
} while (0)
bool ensure_numspan_type(meosType type)
Ensure that a span is a number span type.
Definition: meos_catalog.c:1045
bool ensure_not_null(void *ptr)
Ensure that the pointer is not null.
Definition: temporal.c:136

Macro for ensuring that the span is a number span.