diff options
author | Thomas White <taw@physics.org> | 2020-06-02 13:04:53 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-07-29 18:42:57 +0200 |
commit | a851516f08edab1f54592b4e6df5ff87d3c6dfd5 (patch) | |
tree | 3e5f9f8c1bb10128fc8cbc87e1491812e5e63806 /libcrystfel/src/detgeom.h | |
parent | 5b1793068fdb55d5197165f988e72faa7bc98206 (diff) |
Add detgeom_free
Diffstat (limited to 'libcrystfel/src/detgeom.h')
-rw-r--r-- | libcrystfel/src/detgeom.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libcrystfel/src/detgeom.h b/libcrystfel/src/detgeom.h index 4d80df6b..67a33307 100644 --- a/libcrystfel/src/detgeom.h +++ b/libcrystfel/src/detgeom.h @@ -53,7 +53,7 @@ extern "C" { struct detgeom_panel { /** Text name for panel */ - const char *name; + char *name; /** \name Location of corner in units of the pixel size of this panel, \ * measured from the interaction point. */ @@ -101,6 +101,8 @@ extern void detgeom_transform_coords(struct detgeom_panel *p, double wavelength, double *r); +extern void detgeom_free(struct detgeom *detgeom); + #ifdef __cplusplus } #endif |