Skip to content

Port adblock from raw ffi to cxx crate

Jonah Brüchert requested to merge work/cxx-crate into master

Provides a higher level API, that should make it harder to make mistakes like

  • not freeing something
  • producing a C++ struct that doesn't match the rust one (as happens when placing an Option in the middle of a struct)

Cons:

  • more indirection in function calls
Edited by Jonah Brüchert

Merge request reports

Loading