aboutsummaryrefslogtreecommitdiff
path: root/src/gui_index.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-07-14 11:31:42 +0200
committerThomas White <taw@physics.org>2021-07-14 11:31:42 +0200
commit1a60c142dc919cf9765547c3c79be10155d3a873 (patch)
tree8e2c21ef511537260abaf5aad07da9cebddfdce1 /src/gui_index.c
parent4960248e89b3083ebdeddbfdef6bea83ad5225c8 (diff)
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.
Diffstat (limited to 'src/gui_index.c')
-rw-r--r--src/gui_index.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui_index.c b/src/gui_index.c
index 8c3e7dc0..3af1c6b1 100644
--- a/src/gui_index.c
+++ b/src/gui_index.c
@@ -529,11 +529,11 @@ static void run_indexing_once(struct crystfelproject *proj)
char *methods;
int i;
int err;
- TakeTwoOptions *taketwoopts;
- XGandalfOptions *xgandalf_opts;
- PinkIndexerOptions *pinkIndexer_opts;
- FelixOptions *felix_opts;
- FromFileOptions *fromfile_opts;
+ struct taketwo_options *taketwoopts;
+ struct felix_options *felix_opts;
+ struct xgandalf_options *xgandalf_opts;
+ struct pinkindexer_options *pinkIndexer_opts;
+ struct fromfile_options *fromfile_opts;
char *old_cwd;
char *tmpdir;
int r;