diff options
Diffstat (limited to 'src/lib/Eina_Graph.h')
-rw-r--r-- | src/lib/Eina_Graph.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/Eina_Graph.h b/src/lib/Eina_Graph.h index 84e4abf..16a1282 100644 --- a/src/lib/Eina_Graph.h +++ b/src/lib/Eina_Graph.h @@ -60,4 +60,9 @@ eina_graph_shutdown(void); #include <eina_graph.h> #include <eina_graph_dfs.h> +/** + * To cast Eina_List data into a vertex number. + */ +#define CAST_D(_d) ((unsigned int) (uintptr_t) _d) + #endif /* _EINA_GRAPH_MAIN_H */ |