aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/symmetry.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-10-20 12:03:11 +0200
committerThomas White <taw@physics.org>2021-10-20 12:03:11 +0200
commite5043fb50d3dffee443a33e5a4df1c088038b4de (patch)
tree13f1915a67238b6ee8f58b627a18024df1f36f29 /libcrystfel/src/symmetry.c
parent0f34639be8e8a2f3d9f5443dcb5e7463682b0b32 (diff)
Add a comment
Diffstat (limited to 'libcrystfel/src/symmetry.c')
-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)
{