
Install cbindgen:
https://github.com/eqrion/cbindgen

C++
```shell
cbindgen --config cbindgen.toml --crate dotalib --output dotalib.h
```

C
```shell
cbindgen --config cbindgen.toml --crate dotalib --lang c --output dotalib.h
```

Compile
```shell
cargo build
gcc -Ltarget/debug/ -ldota test.c
```