diff options
author | Nick Fitzgerald <fitzgen@gmail.com> | 2017-05-19 13:33:23 -0700 |
---|---|---|
committer | Nick Fitzgerald <fitzgen@gmail.com> | 2017-05-19 13:33:23 -0700 |
commit | a7f44bd38ba38053657f898aaa0f7c551715e43e (patch) | |
tree | 4efc92be3b717be7c1631f0313f0b6f884b67a27 /bindgen-integration/cpp/Test.h | |
parent | cabfac71fc454196656ff63e5cc761294896831d (diff) |
Add bitfield allocation unit constructors
This commit gives bindgen the ability to generate constructors for bitfield
allocation units. This enables more ergonomic use of struct literals for
bindings structs that contain bitfields.
Additionally, when we are generating unstable Rust, these constructors are
marked as const functions. This enables the creation of const binding structs
that contain bitfields.
Diffstat (limited to 'bindgen-integration/cpp/Test.h')
0 files changed, 0 insertions, 0 deletions