Re: Is there an easier way to deal with "inout" parameters

  • From: Szabó Antal <szabo.antal.92@xxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Mon, 20 Aug 2012 19:42:25 +0200

If you read the first email, he doesn't want to introduce anything to
lua functions; he asks if there's a better way to do what you refer to
as "awkward". I just wanted to note this, as you seem to misunderstand
the question.

2012/8/20 Coda Highland <chighland@xxxxxxxxx>:
> Sure, it's different for the FFI than for pure Lua. But it sounds like
> you have a workable (if awkward) solution for FFI use, so if you're
> looking for a way to expose similar functionality to Lua, there's no
> need to extend the language, because parameters with reference
> semantics already exist.
> /s/ Adam

Other related posts: