diff options
author | Karroffel <therzog@mail.de> | 2017-03-09 04:12:39 +0100 |
---|---|---|
committer | Karroffel <therzog@mail.de> | 2017-03-09 04:12:39 +0100 |
commit | aa9fb128cf8fe5cc09f4fc6ec1b705cb77ff754a (patch) | |
tree | 3d95c13de47b32706bfe3f096cb96722670f97cb | |
parent | 575bb7f3399fc7d267ab2b0f200fbc5611535795 (diff) | |
download | redot-cpp-aa9fb128cf8fe5cc09f4fc6ec1b705cb77ff754a.tar.gz |
re-enabled tool class generation
-rw-r--r-- | binding_generator/src/main.rs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/binding_generator/src/main.rs b/binding_generator/src/main.rs index 5a987f1..3f93e7c 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<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(); |