Add --dot flag to parse subcommand, for printing tree as DOT graph

This commit is contained in:
Max Brunsfeld 2023-02-13 12:33:34 -08:00
parent 8389ffd2a1
commit 97fd990822
10 changed files with 106 additions and 43 deletions

View file

@ -7,10 +7,7 @@ bindgen \
--no-layout-tests \
--whitelist-type '^TS.*' \
--whitelist-function '^ts_.*' \
--opaque-type FILE \
--blocklist-type FILE \
--blocklist-type '^__.*' \
--blocklist-function ts_tree_print_dot_graph \
--size_t-is-usize \
$header_path > $output_path