mirror of https://github.com/rusefi/lua.git
detail (buffer in 'LoadF' is related to files)
This commit is contained in:
parent
1735c05ac7
commit
db5ac2fa0d
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
** $Id: lauxlib.c,v 1.273 2014/11/02 19:19:04 roberto Exp roberto $
|
** $Id: lauxlib.c,v 1.274 2014/11/12 13:32:27 roberto Exp roberto $
|
||||||
** Auxiliary functions for building Lua libraries
|
** Auxiliary functions for building Lua libraries
|
||||||
** See Copyright Notice in lua.h
|
** See Copyright Notice in lua.h
|
||||||
*/
|
*/
|
||||||
|
@ -566,7 +566,7 @@ LUALIB_API void luaL_unref (lua_State *L, int t, int ref) {
|
||||||
typedef struct LoadF {
|
typedef struct LoadF {
|
||||||
int n; /* number of pre-read characters */
|
int n; /* number of pre-read characters */
|
||||||
FILE *f; /* file being read */
|
FILE *f; /* file being read */
|
||||||
char buff[LUAL_BUFFERSIZE]; /* area for reading file */
|
char buff[BUFSIZ]; /* area for reading file */
|
||||||
} LoadF;
|
} LoadF;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue