aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/reflist.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2017-12-05 12:14:44 +0100
committerThomas White <taw@physics.org>2018-02-27 10:54:56 +0100
commitcc64a9ae6c4ca7518ba904d6cdf38b3d8dccbbf7 (patch)
tree6fc877183089010a161e617810217d9b1898cc4b /libcrystfel/src/reflist.h
parentb85391709082ce890df8f6f229a01c7464f11606 (diff)
Add const versions of RefList iteration
Diffstat (limited to 'libcrystfel/src/reflist.h')
-rw-r--r--libcrystfel/src/reflist.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcrystfel/src/reflist.h b/libcrystfel/src/reflist.h
index 3f0ff783..f2126ac9 100644
--- a/libcrystfel/src/reflist.h
+++ b/libcrystfel/src/reflist.h
@@ -132,6 +132,8 @@ extern void add_refl_to_list(Reflection *refl, RefList *list);
/* Iteration */
extern Reflection *first_refl(RefList *list, RefListIterator **piter);
extern Reflection *next_refl(Reflection *refl, RefListIterator *iter);
+extern const Reflection *first_refl_const(const RefList *list, RefListIterator **piter);
+extern const Reflection *next_refl_const(const Reflection *refl, RefListIterator *iter);
/* Misc */
extern int num_reflections(RefList *list);