#include <chemfiles.h>
#include <stdlib.h>

int main() {
    // [example]
    CHFL_CELL* cell = chfl_cell((chfl_vector_t){10, 10, 10});
    CHFL_CELL* copy = chfl_cell_copy(cell);

    if (copy == NULL) {
        /* handle error */
    }

    chfl_cell_free(copy);
    chfl_cell_free(cell);
    // [example]
    return 0;
}
