re-enabled tool class generation

pull/7/head
Karroffel 2017-03-09 04:12:39 +01:00
parent 575bb7f339
commit aa9fb128cf
1 changed files with 5 additions and 3 deletions

View File

@ -71,9 +71,11 @@ fn main() {
let mut icalls: HashSet<(String, Vec<String>)> = HashSet::new(); let mut icalls: HashSet<(String, Vec<String>)> = HashSet::new();
for class in json { for class in json {
if class.api_type == "tools" { // make this toggleable with a command line switch
continue // if class.api_type == "tools" {
} // println!("{}", class.name);
// continue
// }
let used_classes = get_used_classes(&class); let used_classes = get_used_classes(&class);
let mut header = File::create((base_dir.to_string() + strip_name(&class.name) + ".hpp").as_str()).unwrap(); let mut header = File::create((base_dir.to_string() + strip_name(&class.name) + ".hpp").as_str()).unwrap();