- Compilation again. Now we have the sufficient components, and can
start to reconnect.
This commit is contained in:
@@ -45,7 +45,7 @@ binding_destroy (Binding b)
|
||||
{
|
||||
if (b->done)
|
||||
{
|
||||
goal_unbind ();
|
||||
goal_unbind (b);
|
||||
}
|
||||
memFree (b, sizeof (struct binding));
|
||||
}
|
||||
@@ -77,6 +77,16 @@ bindingDone ()
|
||||
list_destroy (sys->bindings);
|
||||
}
|
||||
|
||||
//! Destroy graph
|
||||
void goal_graph_destroy ()
|
||||
{
|
||||
if (graph != NULL)
|
||||
{
|
||||
memFree (graph, (nodes * nodes) * sizeof (int));
|
||||
graph = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
//! Compute unclosed graph
|
||||
void goal_graph_create ()
|
||||
{
|
||||
@@ -122,16 +132,6 @@ void goal_graph_create ()
|
||||
}
|
||||
}
|
||||
|
||||
//! Destroy graph
|
||||
void goal_graph_destroy ()
|
||||
{
|
||||
if (graph != NULL)
|
||||
{
|
||||
memFree (graph, (nodes * nodes) * sizeof (int));
|
||||
graph = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -318,7 +318,7 @@ int bindings_c_minimal ()
|
||||
{
|
||||
Binding b;
|
||||
int run;
|
||||
int node_to;
|
||||
int node_from;
|
||||
|
||||
b = (Binding) bl->data;
|
||||
node_from = node_number (b->run_from, b->ev_from);
|
||||
|
||||
Reference in New Issue
Block a user