From 1a60c142dc919cf9765547c3c79be10155d3a873 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 14 Jul 2021 11:31:42 +0200 Subject: Make all the indexer-specific option structures non-opaque Making them opaque seemed like a nice idea, because all the indexers could take care of their own command-line arguments. However, it doesn't work at all when indexing is run via the API. --- libcrystfel/src/indexers/pinkindexer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libcrystfel/src/indexers/pinkindexer.h') diff --git a/libcrystfel/src/indexers/pinkindexer.h b/libcrystfel/src/indexers/pinkindexer.h index 122bac87..c75b5551 100644 --- a/libcrystfel/src/indexers/pinkindexer.h +++ b/libcrystfel/src/indexers/pinkindexer.h @@ -35,13 +35,13 @@ #include "index.h" #include "datatemplate.h" -extern int pinkIndexer_default_options(PinkIndexerOptions **opts_ptr); +extern int pinkIndexer_default_options(struct pinkindexer_options **opts_ptr); extern int run_pinkIndexer(struct image *image, void *ipriv, int n_threads); extern void *pinkIndexer_prepare(IndexingMethod *indm, UnitCell *cell, - struct pinkIndexer_options *pinkIndexer_opts, + struct pinkindexer_options *pinkIndexer_opts, double wavelength_estimate, double clen_estimate); -- cgit v1.2.3