• Karl Wette's avatar
    ComputeFstat: better encapsulate shared workspace handling · 65679b16
    Karl Wette authored
    - Move workspace into common Fstat data
    - Move workspace ownership logic into XLALCreateFstatInput()
    - Methods that use a workspace must supply a destructor function
    - User now just needs to pass a previous FstatInput to optionalArgs;
      the FstatInput that allocated the workspace also destroys it
    - Refs #2001
    Original: 4168a79a1fcff721685f948f3b41a9a80fda801e
    65679b16
ComputeFstat.c 36.4 KB