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

◆ VALIDATE_CBUFFERSET

#define VALIDATE_CBUFFERSET (   set,
  ret 
)
Value:
do { \
if (! ensure_not_null((void *) (set)) || \
return (ret); \
} while (0)
@ T_CBUFFERSET
buffer set type
Definition: meos_catalog.h:114
bool ensure_not_null(void *ptr)
Ensure that the pointer is not null.
Definition: temporal.c:136
set(CBUFFER_SRCS cbuffer.c tcbuffer.c tcbuffer_boxops.c tcbuffer_compops.c tcbuffer_distance.c tcbuffer_spatialfuncs.c tcbuffer_spatialrels.c tcbuffer_tempspatialrels.c) if(1) list(APPEND CBUFFER_SRCS cbufferset_meos.c) endif() add_library(cbuffer OBJECT $
Definition: CMakeLists.txt:1
bool ensure_set_isof_type(const Set *s, meosType settype)
Ensure that a set is of a given set type.
Definition: set.c:69

Macro for ensuring that the set passed as argument is a circular buffer set.