oxfeeefeee/goscript

Creating a map from Rust-land

darmie opened this issue · 1 comments

darmie commented

I don't know if this was intentional, but on the registered-based branch, creating a map was possible from ffi.

How do I do this while using the master branch? The new_map function is only available within goscript crate.

pub(crate) fn new_map(gcc: &GcContainer) -> GosValue {

How do I convert this MapObj to a GosValue?
Screenshot 2023-08-29 at 05 55 49

darmie commented

I have opened a PR #18