1 2 3 4 5 6 7
#define CUBE_MAX_DIM (100) typedef struct NDBOX { unsigned int size; /* required to be a Postgres varlena type */ unsigned int dim; double x[1]; } NDBOX;