loro/crates/loro-ffi
2023-01-29 17:48:37 +08:00
..
examples/cpp feat: impl C ffi 2023-01-29 17:48:37 +08:00
src feat: impl C ffi 2023-01-29 17:48:37 +08:00
.gitignore feat: impl C ffi 2023-01-29 17:48:37 +08:00
build.rs feat: impl C ffi 2023-01-29 17:48:37 +08:00
Cargo.toml feat: init ffi 2023-01-29 17:48:37 +08:00
cbindgen.toml feat: impl C ffi 2023-01-29 17:48:37 +08:00
README.md chore: add readme.md 2023-01-29 17:48:37 +08:00

loro-ffi

  • cargo build --release
  • move libloro.a to directory examples/cpp
  • run
g++ loro.cpp -Bstatic -framework Security -L. -lloro -o loro