Don't perform platform-specific name mangling on C functions for bindings
This commit is contained in:
parent
29dfa05504
commit
e61edf5398
2 changed files with 2 additions and 56 deletions
|
|
@ -8,6 +8,7 @@ bindgen \
|
|||
--whitelist-type '^TS.*' \
|
||||
--whitelist-function '^ts_.*' \
|
||||
--opaque-type FILE \
|
||||
--distrust-clang-mangling \
|
||||
$header_path > $output_path
|
||||
|
||||
echo "" >> $output_path
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue