From 73f967e943c8d7a77cb21411de990904f09baba6 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo@andromeda> Date: Sat, 27 Nov 2010 18:26:06 +0000 Subject: [PATCH] Before adding another data structure to the chain. --- src/general.h | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/general.h b/src/general.h index f0b42e8..5b4b491 100644 --- a/src/general.h +++ b/src/general.h @@ -135,6 +135,13 @@ }; typedef struct ts_vertex ts_vertex; +typedef struct { + ts_uint n; + ts_vertex **vtx; + +} ts_vertex_list; + + /** ts_bond is a structure that describes a bond */ typedef struct { ts_vertex *vtx1; @@ -204,4 +211,6 @@ //ts_uint ts_fprintf(FILE *fd, char *fmt, va_list ap); +#define VTX(vlist,n) &(vlist->vtx[n]) + #endif -- Gitblit v1.9.3