From 06afc729f9061c1cfa14c78728d61d518324c2f0 Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@gmail.com>
Date: Wed, 04 May 2022 05:46:43 +0000
Subject: [PATCH] Moved all global variables to separate file and defined extern keyword where appropriate

---
 src/poly.h |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/src/poly.h b/src/poly.h
index 9bdec52..4a5e1fd 100644
--- a/src/poly.h
+++ b/src/poly.h
@@ -1,11 +1,13 @@
+/* vim: set ts=4 sts=4 sw=4 noet : */
 #ifndef _POLY_H
 #define _POLY_H
+#include"io.h"
 
 #include"general.h"
 
 ts_poly	*init_poly(ts_uint n, ts_vertex *grafted_vtx);
 
-ts_poly_list *init_poly_list(ts_uint n_poly, ts_uint n_mono, ts_vertex_list *vlist);
+ts_poly_list *init_poly_list(ts_uint n_poly, ts_uint n_mono, ts_vertex_list *vlist, ts_vesicle *vesicle);
 
 ts_bool poly_free(ts_poly *poly);
 
@@ -13,4 +15,9 @@
 
 ts_bool poly_assign_spring_const(ts_vesicle *vesicle);
 
+ts_bool poly_assign_filament_xi(ts_vesicle *vesicle, ts_tape *tape);
+
+ts_poly *remove_poly_with_index(ts_poly_list *poly_list, ts_uint idx);
+ts_bool remove_random_polymeres(ts_poly_list *poly_list, ts_uint number);
+ts_poly_list *init_empty_poly_list(ts_uint n_poly, ts_uint n_mono);
 #endif

--
Gitblit v1.9.3