[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: lua-c interface
- From: cynthia powers <powcyn@...>
- Date: Fri, 11 Dec 2009 04:52:30 -0500
lua newbie question:
I have a lua-calling c setup.
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. The first call to the function from the lua side works ok, I notice that in the subsequent calls, it points to incorret locations. Has anyone seen something similar before? Any suggestions to fix this? The same function in a c-calling c setup works ok.
Thanks
cynthia