diff options
Diffstat (limited to 'src/lib/eina_graph_private.h')
-rw-r--r-- | src/lib/eina_graph_private.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/eina_graph_private.h b/src/lib/eina_graph_private.h index 25a6e73..36cfa09 100644 --- a/src/lib/eina_graph_private.h +++ b/src/lib/eina_graph_private.h @@ -90,6 +90,11 @@ eina_graph_adjacents_push(Eina_Graph_Adjacents *adjs, unsigned int v, unsigned i return EINA_TRUE; } +/*+ + * To cast a vertex number into Eina_List data. + */ +#define CAST_V(_v) ((void *) (uintptr_t) _v) + typedef struct _Eina_Graph { unsigned int vertices; |