16 lines
189 B
Rust
16 lines
189 B
Rust
use wasm_bindgen::prelude::*;
|
|
|
|
#[wasm_bindgen(x)]
|
|
pub fn foo() {}
|
|
|
|
#[wasm_bindgen]
|
|
extern "C" {
|
|
#[wasm_bindgen(y)]
|
|
fn bar();
|
|
|
|
#[wasm_bindgen { }]
|
|
fn bar();
|
|
}
|
|
|
|
fn main() {}
|