Skip to content

Implement pxbind fix for combo bit flags with partially unnamed bits#226

Draft
NiklasNummelin wants to merge 3 commits intomainfrom
fix-pxbind-flags
Draft

Implement pxbind fix for combo bit flags with partially unnamed bits#226
NiklasNummelin wants to merge 3 commits intomainfrom
fix-pxbind-flags

Conversation

@NiklasNummelin
Copy link
Contributor

@NiklasNummelin NiklasNummelin commented Jan 24, 2024

Can't run pxbind on my Mac due to #218

Fixes for instance PxFilterFlags::Notify.

Before, the generated Rust code looked like this:
const Notify = Self::Callback.bits;

while the equivalent C++ looks like this:
eNOTIFY = (1<<3) | eCALLBACK,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant