mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
This reverts commit 8e15389cae
.
This commit is contained in:
parent
8e15389cae
commit
d6ae8dc112
152 changed files with 4622 additions and 5862 deletions
|
@ -285,11 +285,11 @@ fn generate_structs() {
|
|||
let mut fixups = vec![];
|
||||
let builder = BuilderWithConfig::new(builder, CONFIG["structs"].as_table().unwrap())
|
||||
.handle_common(&mut fixups)
|
||||
.handle_str_items("allowlist-functions", |b, item| b.allowlist_function(item))
|
||||
.handle_str_items("whitelist-functions", |b, item| b.allowlist_function(item))
|
||||
.handle_str_items("bitfield-enums", |b, item| b.bitfield_enum(item))
|
||||
.handle_str_items("rusty-enums", |b, item| b.rustified_enum(item))
|
||||
.handle_str_items("allowlist-vars", |b, item| b.allowlist_var(item))
|
||||
.handle_str_items("allowlist-types", |b, item| b.allowlist_type(item))
|
||||
.handle_str_items("whitelist-vars", |b, item| b.allowlist_var(item))
|
||||
.handle_str_items("whitelist-types", |b, item| b.allowlist_type(item))
|
||||
.handle_str_items("opaque-types", |b, item| b.opaque_type(item))
|
||||
.handle_table_items("cbindgen-types", |b, item| {
|
||||
let gecko = item["gecko"].as_str().unwrap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue