lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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