diff options
author | Thomas White <taw@physics.org> | 2023-08-24 14:35:48 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2023-08-24 14:35:48 +0200 |
commit | 11aa16f82432df051f1e055b28315346d9106188 (patch) | |
tree | 461f5b9f72f3ea69d07b60c8c69ab61f6d73b15c /src | |
parent | 9fca86fd0fba293aadaaf88d5d4fc5660b14ef20 (diff) |
Use built-in Mille writer instead of wrapping C++ version
Diffstat (limited to 'src')
-rw-r--r-- | src/im-sandbox.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/im-sandbox.c b/src/im-sandbox.c index 6b68326c..27e33b8f 100644 --- a/src/im-sandbox.c +++ b/src/im-sandbox.c @@ -366,13 +366,11 @@ static int run_work(const struct index_args *iargs, Stream *st, } mille = NULL; - #ifdef HAVE_MILLEPEDE if ( iargs->mille ) { char tmp[64]; snprintf(tmp, 63, "mille-data-%i.bin", cookie); - mille = crystfel_mille_new(tmp, 1, 0); + mille = crystfel_mille_new(tmp); } - #endif while ( !allDone ) { @@ -547,9 +545,7 @@ static int run_work(const struct index_args *iargs, Stream *st, free(pargs.event); } - #ifdef HAVE_MILLEPEDE crystfel_mille_free(mille); - #endif /* These are both no-ops if argument is NULL */ im_zmq_shutdown(zmqstuff); |