From aa9fb128cf8fe5cc09f4fc6ec1b705cb77ff754a Mon Sep 17 00:00:00 2001 From: Karroffel Date: Thu, 9 Mar 2017 04:12:39 +0100 Subject: [PATCH] re-enabled tool class generation --- binding_generator/src/main.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/binding_generator/src/main.rs b/binding_generator/src/main.rs index 5a987f1d..3f93e7ca 100644 --- a/binding_generator/src/main.rs +++ b/binding_generator/src/main.rs @@ -71,9 +71,11 @@ fn main() { let mut icalls: HashSet<(String, Vec)> = HashSet::new(); for class in json { - if class.api_type == "tools" { - continue - } + // make this toggleable with a command line switch + // if class.api_type == "tools" { + // println!("{}", class.name); + // continue + // } let used_classes = get_used_classes(&class); let mut header = File::create((base_dir.to_string() + strip_name(&class.name) + ".hpp").as_str()).unwrap();