libsapling  0.8.0
typed_common.h
Go to the documentation of this file.
1 #ifndef _LIBSAPLING_TYPED_COMMON_H_
2 #define _LIBSAPLING_TYPED_COMMON_H_
3 
9 #include <stdio.h>
10 #include "libsapling/dm/graph.h"
11 
12 
13 typedef node_t *pnode_t;
14 
15 int int__compare(const void *a, const void *b);
16 int int__equals(const void *a, const void *b);
17 void int__print(FILE *stream, const void *data);
18 
19 int char__compare(const void *a, const void *b);
20 int char__equals(const void *a, const void *b);
21 void char__print(FILE *stream, const void *data);
22 
23 void string__print(FILE *stream, const void *data);
24 
29 int dummy_cmp(UNUSED const void *a, UNUSED const void *b);
30 
31 #endif
Graph implementation.
#define UNUSED
Decorator to mark unused function parameters.
Definition: idiom.h:11
int dummy_cmp(UNUSED const void *a, UNUSED const void *b)
Dummy comparator function (if you don't want to specify one it when using the IMPLEMENT_TYPED_X macro...