From 6a5422356c15962726df2261aa53354b0ff12662 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 14 Jul 2010 17:58:55 +0200 Subject: Reduce the scope of "count" Lists of counts had pervaded every corner of CrystFEL, being used as markers for the presence of reflections. Now we have a better way of doing this, the ReflItemList, and few parts of the suite apart from process_hkl have any business knowing how many observations were made of a particular reflection. --- src/utils.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/utils.h') diff --git a/src/utils.h b/src/utils.h index a7433d28..f7e98469 100644 --- a/src/utils.h +++ b/src/utils.h @@ -200,6 +200,8 @@ extern struct refl_item *get_item(ReflItemList *items, int i); extern int num_items(const ReflItemList *items); extern unsigned int *items_to_counts(ReflItemList *items); extern void union_op_items(ReflItemList *items, ReflItemList *newi); +extern void union_items(ReflItemList *items, ReflItemList *newi); +extern ReflItemList *intersection_items(ReflItemList *i1, ReflItemList *i2); /* ------------------------------ Message macros ---------------------------- */ -- cgit v1.2.3