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.
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.