Skip to content

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

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions