aboutsummaryrefslogtreecommitdiff
path: root/src/indexamajig.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/indexamajig.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/indexamajig.c')
-rw-r--r--src/indexamajig.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index 894eac60..d9b0114d 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -96,11 +96,11 @@ struct indexamajig_arguments
int n_copy_headers;
char *harvest_file;
- TakeTwoOptions **taketwo_opts_ptr;
- FelixOptions **felix_opts_ptr;
- XGandalfOptions **xgandalf_opts_ptr;
- PinkIndexerOptions **pinkindexer_opts_ptr;
- FromFileOptions **fromfile_opts_ptr;
+ struct taketwo_options **taketwo_opts_ptr;
+ struct felix_options **felix_opts_ptr;
+ struct xgandalf_options **xgandalf_opts_ptr;
+ struct pinkindexer_options **pinkindexer_opts_ptr;
+ struct fromfile_options **fromfile_opts_ptr;
};
@@ -787,11 +787,11 @@ int main(int argc, char *argv[])
char *rn; /* e.g. /home/taw/indexing */
int r;
int timeout = 240;
- TakeTwoOptions *taketwo_opts = NULL;
- FelixOptions *felix_opts = NULL;
- XGandalfOptions *xgandalf_opts = NULL;
- PinkIndexerOptions *pinkindexer_opts = NULL;
- FromFileOptions *fromfile_opts = NULL;
+ struct taketwo_options *taketwo_opts = NULL;
+ struct felix_options *felix_opts = NULL;
+ struct xgandalf_options *xgandalf_opts = NULL;
+ struct pinkindexer_options *pinkindexer_opts = NULL;
+ struct fromfile_options *fromfile_opts = NULL;
double wl_from_dt;
/* Defaults for "top level" arguments */