mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-25 18:51:35 +00:00
Implement optionally catching exceptions
This commit is contained in:
@ -24,6 +24,7 @@ pub struct Struct {
|
||||
#[derive(Serialize, Deserialize)]
|
||||
pub struct Import {
|
||||
pub module: String,
|
||||
pub catch: bool,
|
||||
pub function: Function,
|
||||
}
|
||||
|
||||
@ -38,6 +39,7 @@ pub struct ImportStruct {
|
||||
pub struct ImportStructFunction {
|
||||
pub method: bool,
|
||||
pub js_new: bool,
|
||||
pub catch: bool,
|
||||
pub function: Function,
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user