Lines Matching refs:LStream
122 typedef luaL_Stream LStream;
125 #define tolstream(L) ((LStream *)luaL_checkudata(L, 1, LUA_FILEHANDLE))
131 LStream *p;
133 p = (LStream *)luaL_testudata(L, 1, LUA_FILEHANDLE);
145 LStream *p = tolstream(L);
155 LStream *p = tolstream(L);
168 static LStream *newprefile (lua_State *L) {
169 LStream *p = (LStream *)lua_newuserdata(L, sizeof(LStream));
177 LStream *p = tolstream(L);
193 LStream *p = tolstream(L);
204 LStream *p = tolstream(L);
210 static LStream *newfile (lua_State *L) {
211 LStream *p = newprefile(L);
219 LStream *p = newfile(L);
229 LStream *p = newfile(L);
241 LStream *p = tolstream(L);
249 LStream *p = newprefile(L);
258 LStream *p = newfile(L);
266 LStream *p;
268 p = (LStream *)lua_touserdata(L, -1);
499 LStream *p = (LStream *)lua_touserdata(L, lua_upvalueindex(1));
656 LStream *p = tolstream(L);
666 LStream *p = newprefile(L);