Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Manually exclude long double from bindings #87

Merged
merged 2 commits into from
Aug 3, 2020
Merged

Conversation

kornelski
Copy link
Collaborator

Bindgen has a problem generating bindings for long double, which causes lots of warnings from rustc: rust-lang/rust-bindgen#1549

This excludes unused functions with long double args.

zmwangx added a commit to zmwangx/rust-ffmpeg-sys that referenced this pull request Aug 1, 2020
Fixes #1.

Inspired by meh/rust-ffmpeg-sys#87 I happened upon, so
kudos to kornelski. Though far from ideal, not sure why I didn't think of this.

As to white blacklist instead of whitelist: FFmpeg is a huge library with too
damn many functions. I guess we could whitelist av.*, pp.* and sw.*, but I
don't want to risk missing anything, present or future. So here goes the crappy
blacklist.
@kornelski kornelski merged commit e750f14 into meh:master Aug 3, 2020
@kornelski kornelski deleted the u128 branch August 3, 2020 12:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant