Move exposes into HeaderType

This commit is contained in:
Richard Feldman 2022-12-13 06:59:25 -05:00
parent 7512a964f7
commit 3e5b62db1a
No known key found for this signature in database
GPG key ID: F1F21AA5B1D9E43B
3 changed files with 85 additions and 17 deletions

View file

@ -205,6 +205,7 @@ impl GeneratedInfo {
generates,
generates_with,
name: _,
exposes: _,
} => {
let name: &str = generates.into();
let (generated_functions, unknown_generated) =
@ -240,6 +241,7 @@ impl GeneratedInfo {
HeaderType::Builtin {
generates_with,
name: _,
exposes: _,
} => {
debug_assert!(generates_with.is_empty());
GeneratedInfo::Builtin