From aad5008716b9f53c40233a8d891bea82d1b3e5f3 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@fe.uni-lj.si> Date: Wed, 18 May 2016 13:58:50 +0000 Subject: [PATCH] Improved tsmeasure. Found a nasty bug in trisurf regarding snapshot accuracy. Fixed it. --- src/bond.h | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/bond.h b/src/bond.h index 4022a6c..d231342 100644 --- a/src/bond.h +++ b/src/bond.h @@ -1,3 +1,4 @@ +/* vim: set ts=4 sts=4 sw=4 noet : */ #ifndef _BOND_H #define _BOND_H @@ -5,7 +6,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 +19,10 @@ * 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_vector(ts_bond *bond); +ts_bool bond_list_free(ts_bond_list *blist); -- Gitblit v1.9.3