hlua
hlua copied to clipboard
Rust library to interface with Lua
Hello @tomaka and everyone else, The following is not to bash the author and previous contributors, just statements of facts. At this point it's pretty clear library is unmaintained, and...
[Here](https://github.com/tomaka/hlua/blob/c1806b72ebb8bc3c871647d68cffeb2bc2137104/hlua/src/lib.rs#L230), this crate causes UB by ["Producing an invalid value"](https://doc.rust-lang.org/reference/behavior-considered-undefined.html). Concretely, it produces a value of an arbitrary type `L` with `mem::uninitialized()`. In the near future the call to `mem::uninitialized()`...
I think this is addressed in #147, basically calling `lua.open_math();` doesn't do anything since the `math` object is made available. This is also the case for eg. strings, but `s:match(...)`...
In the same way as #202 I would like to suggest a new release of the hlua crate. If necessary we can change this to 0.5.0.
I need to call a lua function from rust using a co-routine. How do i do it using hlua?
https://github.com/kyren/rlua
I want to write a rust function which accepts Vec as an input and should be callable from lua. fn get_data_sql(query: String, param_value: Vec){ println!("Inside get_data_sql"); let (txi, rxi) =...
This isn't a proposal or a request for feature; it's more of me asking for help on some issues I have been facing with this endeavur. So far it has...