webui icon indicating copy to clipboard operation
webui copied to clipboard

Rust Wrapper

Open hassandraga opened this issue 2 years ago • 1 comments

I don't have enough time to finish the Rust wrapper here, if you have experience in Rust, you can tray to create a C struct webui_javascript_int_t, pass it to webui_run_js_int_struct() by reference, Another way is you can call webui_run_js_int() and give the necessary references.

This is to run a JavaScript from Rust by sending it to WebUI and receives the result.

Some wrappers I already finish it: Go wrapper example Python wrapper example

hassandraga avatar Oct 20 '22 00:10 hassandraga

The _int mean interface.. probably I should rename it later.

hassandraga avatar Oct 20 '22 00:10 hassandraga

Fixed https://github.com/alifcommunity/webui/commit/d7c62fc8d74fff43991a462e8cae2d694a7b72fa

hassandraga avatar Nov 01 '22 04:11 hassandraga