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

◆ VALIDATE_DATESPAN

#define VALIDATE_DATESPAN (   span,
  ret 
)
Value:
do { \
if (! ensure_not_null((void *) (span)) || \
return (ret); \
} while (0)
@ T_DATESPAN
date span type
Definition: meos_catalog.h:62
bool ensure_span_isof_type(const Span *s, meosType spantype)
Ensure that a span is of a given span type.
Definition: span.c:66
bool ensure_not_null(void *ptr)
Ensure that the pointer is not null.
Definition: temporal.c:136

Macro for ensuring that a span is a date span.