34 #define prt_tuple_new1(a) prt_tuple_new(1,a)
35 #define prt_tuple_new2(a,b) prt_tuple_new(2,a,b)
36 #define prt_tuple_new3(a,b,c) prt_tuple_new(3,a,b,c)
37 #define prt_tuple_new4(a,b,c,d) prt_tuple_new(4,a,b,c,d)
38 #define prt_tuple_new5(a,b,c,d,e) prt_tuple_new(5,a,b,c,d,e)
39 #define prt_tuple_new6(a,b,c,d,e,f) prt_tuple_new(6,a,b,c,d,e,f)
void prt_tuple_print(int *tuple)
tuple print
int * prt_tuple_cat(int *first_tuple,...)
tuple concatenate Join a variable length, NULL-terminated, list of tuples.
int prt_tuple_compare(void *tuple_a, void *tuple_b)
tuple comparison
unsigned int prt_tuple_hash(void *tuple)
tuple hash Required by the VSA's tuples hash table. Computes the lenght in characters and calls a str...
int prt_tuple_len(int *tuple)
tuple length
int * prt_tuple_copy(int *in_tuple)
tuple copy constructor
void prt_tuple_delete(int *tuple)
tuple destructor
int * prt_tuple_new(int len,...)
tuple constructor Allocates memory for the tuple plus the termination symbol (INT_MAX).
int prt_tuple_equal(void *tuple_a, void *tuple_b)
tuple equality check Check if tuples are identical in length and content.