summaryrefslogtreecommitdiff
path: root/bindgen-integration/cpp/Test.h
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2017-05-19 16:40:04 -0500
committerGitHub <noreply@github.com>2017-05-19 16:40:04 -0500
commit25150ca64f8009ac53829a2daa031c8723684523 (patch)
treece0efb4e7eda12c288e352e752c9ba6bdf7d5a7e /bindgen-integration/cpp/Test.h
parentcabfac71fc454196656ff63e5cc761294896831d (diff)
parent15b72b785af3094788b6c60841a39962db11ffa9 (diff)
Auto merge of #707 - fitzgen:bitfield-constructors, r=emilio
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. (Something necessary for Servo's usage of SpiderMonkey). r? @emilio
Diffstat (limited to 'bindgen-integration/cpp/Test.h')
0 files changed, 0 insertions, 0 deletions