brave / adblock-rust-ffi

An FFI crate to expose functionality from brave/adblock-rust
Mozilla Public License 2.0
47 stars 16 forks source link

Use inout params to simplify matches API #32

Closed antonok-edm closed 3 years ago

antonok-edm commented 3 years ago

This provides a much more natural API for interacting with multiple adblock engines, as we do in the browser. This allows the same parameters to be passed through different engines in sequence without maintaining external state.

Hopefully the last reworking required for https://github.com/brave/brave-core/pull/7666