[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: How to get FILE* from openfile() handle
- From: erik@... (Erik Hougaard)
- Date: Mon, 11 Sep 2000 10:41:27 +0200
----- 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.