lua-users home
lua-l archive

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


----- Original Message ----- 
> I tried (FILE *) lua_getuserdata(lua_getparam(1)) to get the FILE* but 
> it doesn't work.

That should work... the userdata is the (FILE*) pointer.

/Erik