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?