We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
for C enum
typedef enum { PROCESS_CHANNEL_REQEST = 0x7fffffff, PROCESS_HOST_REQEST = 0x7fffffff - 1, PROCESS_RECEIVED_PACKS = 0x7fffffff - 2, } PROCESS;
on MACOS rust-bindgen generate
pub const PROCESS_PROCESS_CHANNEL_REQEST: PROCESS = 2147483647; pub const PROCESS_PROCESS_HOST_REQEST: PROCESS = 2147483646; pub const PROCESS_PROCESS_RECEIVED_PACKS: PROCESS = 2147483645; pub type PROCESS = u32;
on Windows
pub const PROCESS_PROCESS_CHANNEL_REQEST: PROCESS = 2147483647; pub const PROCESS_PROCESS_HOST_REQEST: PROCESS = 2147483646; pub const PROCESS_PROCESS_RECEIVED_PACKS: PROCESS = 2147483645; pub type PROCESS = i32;
The text was updated successfully, but these errors were encountered:
This is the type the underlying platform uses, so bindgen is doing the right thing.
This is a duplicate of #1244.
Sorry, something went wrong.
No branches or pull requests
for C enum
on MACOS rust-bindgen generate
on Windows
The text was updated successfully, but these errors were encountered: