Long, Wei
Long, Wei
@yungsun09 [number-precision-chainable](https://github.com/yungsun09/number-precision-chainable) 链式调用很棒。 我理解@gaolingyi-hadi 是希望使用的方法更易读,这里安利下 [number-precision-macro](https://github.com/defims/number-precision-macro),支持`NPM((1+1)/2)`这样的js表达式写法,而不用使用`NP.divide(NP.plus(1, 1),2)`。
@kennykerr would you please provide a simple `IDispatch` example? I found a [c++ version](https://stackoverflow.com/questions/3747414/calling-c-function-from-javascript-script-running-in-a-web-browser-control) in stackoverflow, but a simpler example of Rust version would be great.
I wrote a [macro](https://crates.io/crates/wvwasi-macro) called `wvwasi_macro::create_type_info_crate` that automatically generates a trait for getting `ITypeInfo`, which simplifies the implementation of `GetTypeInfo`.
For `webview2`, both `createSharedBuffer` and `AddHostObject` are well supported. For example, in [wvwasi](https://github.com/defims/wvwasi), I implemented the registration of synchronous interfaces based on wry's controller. For ease of use, I also...