aboutsummaryrefslogtreecommitdiff
path: root/src/sfac.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-03-17 14:09:49 +0100
committerThomas White <taw@physics.org>2010-03-17 14:09:49 +0100
commit274a5e2803eb3afe0d53b27c6078ef4495d587a0 (patch)
treea1bc21d37e94ff5450cddc148cd33227b30f94ad /src/sfac.h
parentf38be837bd33dfc4d98d251b2e81d5fa555a4f5c (diff)
Fix various memory leaks and tidy a few things
Diffstat (limited to 'src/sfac.h')
-rw-r--r--src/sfac.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sfac.h b/src/sfac.h
index d1424fc7..000b859f 100644
--- a/src/sfac.h
+++ b/src/sfac.h
@@ -54,7 +54,10 @@ struct molecule
extern double complex get_sfac(const char *n, double s, double en);
extern struct molecule *load_molecule(void);
+extern void free_molecule(struct molecule *mol);
+extern struct molecule *copy_molecule(struct molecule *orig);
extern double complex *get_reflections(struct molecule *mol, double en);
extern void get_reflections_cached(struct molecule *mol, double en);
+
#endif /* SFAC_H */