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

  • From: William Adams <william_a_adams@xxxxxxx>
  • To: "luajit@xxxxxxxxxxxxx" <luajit@xxxxxxxxxxxxx>
  • Date: Mon, 20 Aug 2012 11:55:33 -0700

Exactly.
________________________________
From: Szabó Antal
Sent: 8/20/2012 10:42 AM
To: luajit@xxxxxxxxxxxxx
Subject: Re: Is there an easier way to deal with "inout" parameters

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: