Skip to content

Add library function srcml_unit_get_archive to get archive the unit belongs to #2341

@mjdecker

Description

@mjdecker
struct srcml_archive* srcml_unit_get_archive(const struct srcml_unit* unit);

For now it returns a non-const srcml_archive*, because srcml_unit_create requires a non-const archive.

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