Browse Source

re-enabled tool class generation

Karroffel 8 years ago
parent
commit
aa9fb128cf
1 changed files with 5 additions and 3 deletions
  1. 5 3
      binding_generator/src/main.rs

+ 5 - 3
binding_generator/src/main.rs

@@ -71,9 +71,11 @@ fn main() {
 	let mut icalls: HashSet<(String, Vec<String>)> = 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();