aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/symmetry.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libcrystfel/src/symmetry.c b/libcrystfel/src/symmetry.c
index f641a850..312470c7 100644
--- a/libcrystfel/src/symmetry.c
+++ b/libcrystfel/src/symmetry.c
@@ -201,6 +201,9 @@ static void add_symop_v(SymOpList *ops,
* This function returns a pointer to an integer matrix specifying a symmetry
* operation contained in the symmetry operator list, and identified by the
* specified index.
+ *
+ * The returned IntegerMatrix is owned by the SymOpList and must not be
+ * freed separately. It is valid as long as 'ops' exists.
**/
IntegerMatrix *get_symop(const SymOpList *ops, const SymOpMask *m, int idx)
{