Skip to content

C-API: avoid global variables #22

@HeyImJordi

Description

@HeyImJordi

Currently the C API uses a number of global variables to store its state. This makes it hard to use e.g. in multi-threaded applications, or in libraries (think e.g. a library that loads and queries CRG files, which is then used in an application to compare multiple CRG files).

The C API should be changed to not use any mutable global variables.

Metadata

Metadata

Assignees

No one assigned

    Labels

    isState:ClassifiedAn issue that has a type and that needs to be accepted by the group.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions