Skip to content

Add options flag to all string setting methods #1979

Closed

Description

@jeromekelleher

As discussed in #1977 we may want to avoid always taking a copy of input strings when doing things like tsk_table_collection_set_metadata_schema, tsk_reference_sequence_set_data etc.

It seems sensible to add an options flag to each of these methods to keep the door open for this in the future.

Activity

  1. added
    C API
    on Dec 2, 2021
  2. added this to the C API 1.0.0 milestone on Dec 2, 2021
  3. added 3 commits that reference this issue on Dec 2, 2021
    a14abb4
    26babdb
    959a028
  4. jeromekelleher commented on Dec 5, 2021

    @jeromekelleher
    MemberAuthor

    Not doing this any more since #2016 - we have no immediate use for an options argument, and it's hard to imagine what we could do given the values are all const. We would just be breaking people's code for the sake of it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

C API

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions