diff options
Diffstat (limited to 'src/lib/eina_graph_private.h')
-rw-r--r-- | src/lib/eina_graph_private.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/eina_graph_private.h b/src/lib/eina_graph_private.h index 4eaf4d0..ccbff01 100644 --- a/src/lib/eina_graph_private.h +++ b/src/lib/eina_graph_private.h @@ -65,10 +65,10 @@ typedef struct _Eina_Graph_Adjacents unsigned int *data; unsigned int total; unsigned int count; -} Eina_Graph_Adjacents; +} _Eina_Graph_Adjacents; static inline void -eina_graph_adjacents_free(Eina_Graph_Adjacents *adjs) +eina_graph_adjacents_free(_Eina_Graph_Adjacents *adjs) { if (adjs->data) free(adjs->data); @@ -76,10 +76,10 @@ eina_graph_adjacents_free(Eina_Graph_Adjacents *adjs) } Eina_Bool -_eina_graph_adjacents_grow(Eina_Graph_Adjacents *adjs, unsigned int step); +_eina_graph_adjacents_grow(_Eina_Graph_Adjacents *adjs, unsigned int step); static inline Eina_Bool -eina_graph_adjacents_push(Eina_Graph_Adjacents *adjs, unsigned int v, unsigned int step) +eina_graph_adjacents_push(_Eina_Graph_Adjacents *adjs, unsigned int v, unsigned int step) { if (EINA_UNLIKELY((adjs->count + 1) > adjs->total)) if (!_eina_graph_adjacents_grow(adjs, step)) @@ -100,7 +100,7 @@ typedef struct _Eina_Graph unsigned int vertices; unsigned int edges; unsigned int step; - Eina_Graph_Adjacents *adjs; + _Eina_Graph_Adjacents *adjs; } _Eina_Graph; typedef struct _Eina_Graph_DFS |