feat: dotalib
This commit is contained in:
10
__ffi/dotalib/justfile
Normal file
10
__ffi/dotalib/justfile
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user