hlua icon indicating copy to clipboard operation
hlua copied to clipboard

Is there a way to call a Lua function with a HashMap without cloning it?

Open sunshowers opened this issue 8 years ago • 0 comments

Assuming you have e.g. a HashMap<&'static str, String>, it seems like it should be possible to translate this HashMap into a table and call a Lua function with it as the argument, all without cloning the HashMap. (I might be completely misunderstanding here, of course.)

Is there a way to do that?

sunshowers avatar Aug 17 '17 07:08 sunshowers