bcf_copy

bcf_dup() - create a copy of BCF record.

Note that bcf_unpack() must be called on the returned copy as if it was obtained from bcf_read(). Also note that bcf_dup() calls bcf_sync1(src) internally to reflect any changes made by bcf_update_* functions.

The bcf1_t struct returned by a successful call should be freed via bcf_destroy() when it is no longer needed.

  1. bcf1_t* bcf_dup(bcf1_t* src)
  2. bcf1_t* bcf_copy(bcf1_t* dst, bcf1_t* src)
    extern (C)
    bcf_copy

Meta