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

Cannot perform bitwise operations on bitflag-like enums #57

Open
ryandbair opened this issue Nov 15, 2017 · 0 comments
Open

Cannot perform bitwise operations on bitflag-like enums #57

ryandbair opened this issue Nov 15, 2017 · 0 comments

Comments

@ryandbair
Copy link

av_buffersrc_add_frame_flags takes a bitflag as the final argument, but the enum which is generated that represents those flags does not have bitwise operations implemented for it.

I've played with bindgen options for the enum, but haven't been able to get a result better than mapping them as constants.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant