aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-07-25 18:06:18 +0200
committerThomas White <taw@physics.org>2014-07-25 18:06:18 +0200
commitbd760024d5dfb16d8beaac01ca4dec9102d236f1 (patch)
treeabb64466a9eceefe0639dac1cacafa1ec270ad1a /libcrystfel
parent901c99a1dbe1b9f93b8ecc3bff7bc6b80cc59904 (diff)
Expose get_matrix_name()
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/symmetry.c2
-rw-r--r--libcrystfel/src/symmetry.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/libcrystfel/src/symmetry.c b/libcrystfel/src/symmetry.c
index 1a4fee1e..266ada66 100644
--- a/libcrystfel/src/symmetry.c
+++ b/libcrystfel/src/symmetry.c
@@ -1697,7 +1697,7 @@ static void add_chars(char *t, const char *s, int max_len)
}
-static char *get_matrix_name(const IntegerMatrix *m, int row)
+char *get_matrix_name(const IntegerMatrix *m, int row)
{
char *text;
const int max_len = 9;
diff --git a/libcrystfel/src/symmetry.h b/libcrystfel/src/symmetry.h
index d7373ba2..c29164ef 100644
--- a/libcrystfel/src/symmetry.h
+++ b/libcrystfel/src/symmetry.h
@@ -92,6 +92,7 @@ extern int is_centric(signed int h, signed int k, signed int l,
extern void add_symop(SymOpList *ops, IntegerMatrix *m);
extern SymOpList *parse_symmetry_operations(const char *s);
+extern char *get_matrix_name(const IntegerMatrix *m, int row);
#ifdef __cplusplus
}