Pickup the things lost in binding generation
ldm0 opened this issue · comments
Though bindgen is quite good, Some const variables defined using macro is lost in binding generation process, e.g. the libavutil/error.h
, the macros were lost. We can path these in avutil/*.rs
.
Nope, the best place to place these things is ffi::*
, which leads to least cognitivity.
Implement the macros & functions in avutil/*.rs.
and pub use them in the ffi::*
.