From 61ad95ca712a374f6e58127fda738b67c57d743d Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Wed, 04 Jan 2017 21:19:52 +0000 Subject: [PATCH] Added many changes to trisurf.py. Mostly readability. Great fix in class Runner by introducing @property tag --- 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