diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2015-04-25 21:35:19 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2015-04-25 21:35:19 (GMT) |
commit | ee0ff01247738e847ae3faa44dcb5168d7b758ba (patch) | |
tree | e945f95a84a97237debf0b16ee11ed95d6862afb /src/gtkext/graph/nodes | |
parent | 2a1dd967d3b4e06f504431f9d3d613992095b2c3 (diff) |
Registered suitable linkage hooks and defined right links between instructions.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@519 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gtkext/graph/nodes')
-rw-r--r-- | src/gtkext/graph/nodes/flow.c | 19 | ||||
-rw-r--r-- | src/gtkext/graph/nodes/flow.h | 3 |
2 files changed, 22 insertions, 0 deletions
diff --git a/src/gtkext/graph/nodes/flow.c b/src/gtkext/graph/nodes/flow.c index 558913e..e502293 100644 --- a/src/gtkext/graph/nodes/flow.c +++ b/src/gtkext/graph/nodes/flow.c @@ -462,6 +462,25 @@ static bool g_flow_node_visit_flow_nodes(GFlowNode *node, graph_node_visitor_cb /****************************************************************************** * * +* Paramètres : node = noeud graphique à consulter. * +* * +* Description : Fournit le bloc basique à l'origine du bloc graphique. * +* * +* Retour : Bloc brut encapsulé. * +* * +* Remarques : - * +* * +******************************************************************************/ + +GFlowBlock *g_flow_node_get_block(const GFlowNode *node) +{ + return node->block; + +} + + +/****************************************************************************** +* * * Paramètres : node = noeud graphique à consulter. * * instr = instruction à considérer. * * * diff --git a/src/gtkext/graph/nodes/flow.h b/src/gtkext/graph/nodes/flow.h index 413a8f2..f659a77 100644 --- a/src/gtkext/graph/nodes/flow.h +++ b/src/gtkext/graph/nodes/flow.h @@ -59,6 +59,9 @@ GType g_flow_node_get_type(void); /* Encapsule graphiquement un bloc d'exécution. */ GGraphNode *g_flow_node_new(GFlowBlock *, GtkBufferView *); +/* Fournit le bloc basique à l'origine du bloc graphique. */ +GFlowBlock *g_flow_node_get_block(const GFlowNode *); + /* Précise si le noeud a pour première instruction celle donnée. */ bool g_flow_node_start_with(const GFlowNode *, GArchInstruction *); |