summaryrefslogtreecommitdiffstats
path: root/src/lib/eina_graph_private.h
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-01-04 13:37:59 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-01-04 13:37:59 +0100
commit2ae9612e7a248d57938adde5722ba552c027521e (patch)
tree3e560f6f07114033e773c4df71775d98f811ff4f /src/lib/eina_graph_private.h
parent731a4848cd46ee02b012c601adc6ecb158a8718b (diff)
downloadeina_graph-2ae9612e7a248d57938adde5722ba552c027521e.zip
eina_graph-2ae9612e7a248d57938adde5722ba552c027521e.tar.gz
Eina_Graph_Adjacents is private struct -> add '_' prefix
Diffstat (limited to 'src/lib/eina_graph_private.h')
-rw-r--r--src/lib/eina_graph_private.h10
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