Skip to content

Commit

Permalink
change lib name
Browse files Browse the repository at this point in the history
  • Loading branch information
ququzone committed Jan 16, 2023
1 parent 68b0d15 commit d062ecb
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions ctss/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target
9 changes: 9 additions & 0 deletions ctss/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
ctss-lib
========

## ABI gen

```
cargo install cbindgen
cbindgen . -o target/ctss.h
```
2 changes: 1 addition & 1 deletion ctss/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub fn parse_string(s: *const c_char) -> &'static str {
}

#[no_mangle]
pub extern "C" fn c_keygen(
pub extern "C" fn keygen(
server_url: *const c_char,
room: *const c_char,
index: u16,
Expand Down

0 comments on commit d062ecb

Please sign in to comment.