更新libclamav库1.0.0版本

This commit is contained in:
2023-01-14 18:28:39 +08:00
parent b879ee0b2e
commit 45fe15f472
8531 changed files with 1222046 additions and 177272 deletions

View File

@@ -0,0 +1,32 @@
#![deny(unused_variables)]
use wasm_bindgen::prelude::*;
struct A {}
#[wasm_bindgen]
impl A {
#[wasm_bindgen(method)]
pub fn foo() {}
}
#[wasm_bindgen]
pub struct MyStruct {
hello: String,
}
#[wasm_bindgen(getter, typescript_custom_section)]
pub const FOO: &'static str = "FOO";
#[wasm_bindgen(readonly)]
pub fn bar() {}
#[wasm_bindgen(getter_with_clone, final)]
impl MyStruct {
#[wasm_bindgen(getter, typescript_type = "Thing[]")]
pub fn hello(&self) -> String {
self.hello.clone()
}
}
fn main() {}