From 64c113ed06cb749fdc513162a1cddf4ec024fd72 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Sat, 30 Nov 2013 10:10:13 +0000 Subject: [PATCH] Changes in data structure, added vertex_list_remove_vtx and vertex_list_add_vtx. Trying to fix the rest --- src/bond.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bond.h b/src/bond.h index 4022a6c..e2be586 100644 --- a/src/bond.h +++ b/src/bond.h @@ -5,7 +5,7 @@ /** Initialize bond list with zero values * @param *blist is a pointer to a ts_bond_list structure */ -ts_bool init_bond_list(ts_bond_list *blist); +ts_bond_list *init_bond_list(); /** @brief Adds bond in the bond list * @@ -18,9 +18,9 @@ * this is considered as fatal error and execution stops, returning error code to the operating * system. */ -ts_bool bond_add(ts_bond_list *blist, ts_vertex *vtx1, ts_vertex *vtx2); +ts_bond *bond_add(ts_bond_list *blist, ts_vertex *vtx1, ts_vertex *vtx2); - +ts_bool bond_list_free(ts_bond_list *blist); -- Gitblit v1.9.3