aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/asdf.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2017-07-06 17:04:40 +0200
committerThomas White <taw@physics.org>2017-07-06 17:17:28 +0200
commitdc3395900fc3ce0d3961757628ff83ad6456be19 (patch)
tree59314c1690fe704dad08df13d9bc9929ee8cff95 /libcrystfel/src/asdf.c
parentcfb3d2ebc34f526aff4142c0d26e3955bc1ec734 (diff)
Indexing engine private pointers should be void *
Diffstat (limited to 'libcrystfel/src/asdf.c')
-rw-r--r--libcrystfel/src/asdf.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libcrystfel/src/asdf.c b/libcrystfel/src/asdf.c
index 033688ba..0c43fe7a 100644
--- a/libcrystfel/src/asdf.c
+++ b/libcrystfel/src/asdf.c
@@ -4,12 +4,12 @@
* Alexandra's Superior Direction Finder, or
* Algorithm Similar to DirAx, FFT-based
*
- * Copyright © 2014-2015 Deutsches Elektronen-Synchrotron DESY,
+ * Copyright © 2014-2017 Deutsches Elektronen-Synchrotron DESY,
* a research centre of the Helmholtz Association.
*
* Authors:
* 2014-2015 Alexandra Tolstikova <alexandra.tolstikova@desy.de>
- * 2015 Thomas White <taw@physics.org>
+ * 2015,2017 Thomas White <taw@physics.org>
*
* This file is part of CrystFEL.
*
@@ -1101,7 +1101,7 @@ static int index_refls(gsl_vector **reflections, int N_reflections,
}
-int run_asdf(struct image *image, IndexingPrivate *ipriv)
+int run_asdf(struct image *image, void *ipriv)
{
int i, j;
@@ -1202,8 +1202,8 @@ int run_asdf(struct image *image, IndexingPrivate *ipriv)
}
-IndexingPrivate *asdf_prepare(IndexingMethod *indm, UnitCell *cell,
- struct detector *det, float *ltl)
+void *asdf_prepare(IndexingMethod *indm, UnitCell *cell,
+ struct detector *det, float *ltl)
{
struct asdf_private *dp;
int need_cell = 0;
@@ -1232,11 +1232,11 @@ IndexingPrivate *asdf_prepare(IndexingMethod *indm, UnitCell *cell,
dp->fftw = fftw_vars_new();
- return (IndexingPrivate *)dp;
+ return (void *)dp;
}
-void asdf_cleanup(IndexingPrivate *pp)
+void asdf_cleanup(void *pp)
{
struct asdf_private *p;
p = (struct asdf_private *)pp;