[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lua-c interface
- From: steve donovan <steve.j.donovan@...>
- Date: Fri, 11 Dec 2009 12:12:16 +0200
On Fri, Dec 11, 2009 at 11:52 AM, cynthia powers <powcyn@gmail.com> wrote:
> I have a c function called in a while loop from lua. This function accesses
> a global array and is supposed to return the next member of the array in
> each call.
How does it remember state, so that it returns the next member? Is
this also global (and C global or Lua global?)
If you can present the function and its call in less than a hundred
lines, I reckon we could help further