logoalt Hacker News

nicoburnstoday at 11:20 AM2 repliesview on HN

I believe that is wrapping the Wry crate (and a few other crates) in a C API that can be accessed over FFI (which can then presumably be called directly be Swift code).


Replies

embedding-shapetoday at 12:02 PM

Thanks for helping me understand! So to clarify, that file is wrapping Wry with a C API, and Wry itself is merely wrapping whatever webview is available on the OS?

show 1 reply
zozbot234today at 12:46 PM

Shouldn't this kind of work be upstreamed to the original project, though? It would enable wry to export a libwry.so dynamic library for general use in any language that can FFI with C.