feat: dotalib

This commit is contained in:
2021-01-10 18:21:01 +08:00
parent 9dc7182b86
commit 58ea520a63
4 changed files with 39 additions and 4 deletions

10
__ffi/dotalib/justfile Normal file
View File

@@ -0,0 +1,10 @@
_:
@just --list
bindgen:
cbindgen --config cbindgen.toml --crate dotalib --lang c --output dotalib.h
build: bindgen
cargo build
gcc -Ltarget/debug/ -ldota test.c