* Create README.md * add example * crates & examples * fix syntax * add LICENSE * thirdparty LICENSE * rearrange repo * fix build * egui versions * prepare publish * fix demo compilation * add test ci * Update rust.yml * forgot runs-on * install protoc before building * avoid rate limit * include submodules * updates to readme * cache rust builds Co-authored-by: David Zhao <[email protected]> Co-authored-by: David Zhao <[email protected]>
11 lines
241 B
Rust
11 lines
241 B
Rust
#[cxx::bridge(namespace = "livekit")]
|
|
pub mod ffi {
|
|
unsafe extern "C++" {
|
|
include!("livekit/candidate.h");
|
|
|
|
type Candidate; // cricket::Candidate
|
|
|
|
fn _unique_candidate() -> UniquePtr<Candidate>; // Ignore
|
|
}
|
|
}
|