'luaIO_Stream' -> 'luaL_Stream'
This commit is contained in:
4
liolib.c
4
liolib.c
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
** $Id: liolib.c,v 2.105 2011/11/09 14:10:43 roberto Exp roberto $
|
** $Id: liolib.c,v 2.106 2011/11/11 19:59:17 roberto Exp roberto $
|
||||||
** Standard I/O (and system) library
|
** Standard I/O (and system) library
|
||||||
** See Copyright Notice in lua.h
|
** See Copyright Notice in lua.h
|
||||||
*/
|
*/
|
||||||
@@ -102,7 +102,7 @@
|
|||||||
#define IO_OUTPUT (IO_PREFIX "output")
|
#define IO_OUTPUT (IO_PREFIX "output")
|
||||||
|
|
||||||
|
|
||||||
typedef luaIO_Stream LStream;
|
typedef luaL_Stream LStream;
|
||||||
|
|
||||||
|
|
||||||
#define tolstream(L) ((LStream *)luaL_checkudata(L, 1, LUA_FILEHANDLE))
|
#define tolstream(L) ((LStream *)luaL_checkudata(L, 1, LUA_FILEHANDLE))
|
||||||
|
|||||||
Reference in New Issue
Block a user