Skip to content

Evaluate C++ flags type #97

@gregorgorjanc

Description

@gregorgorjanc

tskit C uses https://tskit.dev/tskit/docs/stable/c-api.html#c.tsk_flags_t

typedef uint32_t tsk_flags_t
Container for bitwise flags.

Bitwise flags are used in tskit as a column type and also as a way to specify options to API functions

When I started I just used int in C++,
but best to be consistent.
What should we use though?
Can we just use tsk_flags_t and how will this interact with R and Rcpp?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions