re-enabled tool class generation
parent
575bb7f339
commit
aa9fb128cf
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue