lua-users home
lua-l archive

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


Hi,
 
A newbie question, so I apologise in advance if its a trivial question.
I have a c-lua-c setup, and I have a list of FILE* to pass from c world to Lua world, back to c world.
How do I do this?
In c world, I have say:
FILE* fp1, fp2;
array = {fp1, fp2} which is passed as an argument to the lua function, I make a lua table for the array, but how do I get the file pointers? I could not find anything like a lua_tofilepointers().
 
Thanks
cynthia.