feat: add test.c

This commit is contained in:
2021-01-10 15:15:38 +08:00
parent dee3033007
commit 316ba7b338
3 changed files with 11 additions and 1 deletions

View File

@@ -12,3 +12,8 @@ C
cbindgen --config cbindgen.toml --crate dotalib --lang c --output dotalib.h
```
Compile
```shell
cargo build
gcc -Ltarget/debug/ -ldota test.c
```