From 76718028a6c6419a799c5cc89e0bd7ce0a3c70b1 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 3 Feb 2017 15:52:24 +0100 Subject: const-cleanliness --- libcrystfel/src/crystal.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libcrystfel/src/crystal.h') diff --git a/libcrystfel/src/crystal.h b/libcrystfel/src/crystal.h index 7552a257..b4726cce 100644 --- a/libcrystfel/src/crystal.h +++ b/libcrystfel/src/crystal.h @@ -52,10 +52,11 @@ extern "C" { #endif extern Crystal *crystal_new(void); -extern Crystal *crystal_copy(Crystal *cryst); +extern Crystal *crystal_copy(const Crystal *cryst); extern void crystal_free(Crystal *cryst); extern UnitCell *crystal_get_cell(Crystal *cryst); +extern const UnitCell *crystal_get_cell_const(const Crystal *cryst); extern double crystal_get_profile_radius(Crystal *cryst); extern RefList *crystal_get_reflections(Crystal *cryst); extern double crystal_get_resolution_limit(Crystal *cryst); -- cgit v1.2.3