Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(capi): redesign the C API using callbacks (#198)
Instead of allocating a `YRX_PATTERNS` structure with patterns and matches, the API offers functions that allow iterating over the patterns using callback functions. With this design the allocation of memory is not necessary. The implementation is also split into more files for making the code easier to maintain.
- Loading branch information