- Compilation again. Now we have the sufficient components, and can

start to reconnect.
This commit is contained in:
ccremers
2004-08-18 09:57:01 +00:00
parent b2838ed1e4
commit eb5a39522b
2 changed files with 90 additions and 102 deletions

View File

@@ -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);