Skip to content
Snippets Groups Projects
Commit 3b9837fb authored by burneykb's avatar burneykb
Browse files

fixed nameing issues

parent 7a20d337
No related branches found
No related tags found
No related merge requests found
......@@ -231,6 +231,6 @@ int convert_to_id(struct backend_conn * conn, char **argv, struct convert_data *
}
}
}
frontend_free_nodedata(search_data, num_nodes);
frontend_free_node_data(search_data, num_nodes);
return search_2;
}
\ No newline at end of file
......@@ -49,28 +49,25 @@ int cli_getnodes(struct backend_conn * conn, int argc, char ** argv) {
const struct graph_node_type * node_definition = blockDefs[node_data[i].type];
printf(" {");
for(n = 0; n < (size_t)node_definition->n_inputs; ++n) {
printf(" %-5s ", node_definition->input_names[n]);
}
printf("} ");
printf(" {");
for(n = 0; n < (size_t)node_definition->n_params; ++n) {
printf(" %s ", node_definition->param_names[n]);
}
printf("} ");
printf(" {");
for(n = 0; n < (size_t)node_definition->n_outputs; ++n) {
printf(" %s ", node_definition->output_names[n]);
}
printf("}\n");
}
frontend_free_nodedata(node_data, num_nodes);
frontend_free_node_data(node_data, num_nodes);
return 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment