blingfire-sys 1.0.1

Bindings to the BlingFire C++ library
Documentation
1
2
3
4
5
6
7
8
9
10
#!/bin/bash
set +x
set -e
set -o pipefail

cd "$(dirname "$0")"

echo "#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]" > src/lib.rs

bindgen --whitelist-function TextToWords --whitelist-function TextToSentences --whitelist-type FALimits BlingFire/blingfiretools/blingfiretokdll/blingfiretokdll.cpp -- -IBlingFire/blingfireclient.library/inc -IBlingFire/blingfirecompile.library/inc -DBLING_FIRE_NOWINDOWS -DBLING_FIRE_NOAP -x c++ >> src/lib.rs