Go to the documentation of this file.
19 #define LoadByte (lu_byte) ezgetc
56 char* p=(
char*) b+size-1;
58 while (n--) *p--=(char)
ezgetc(S);
74 while (n--) *p--=(char)
ezgetc(S);
160 if (n!=0 && n!=f->
nups)
220 #ifndef TRUST_BINARIES
230 while (*s!=0 &&
ezgetc(S)==*s)
241 "size of %s is %d but read %d",S->
name,what,s,r);
244 #define TESTSIZE(s,w) TestSize(S,s,w)
245 #define V(v) v/16,v%16
256 "read version %d.%d; expected at most %d.%d",
260 "read version %d.%d; expected at least %d.%d",
270 TESTSIZE(
sizeof(lua_Number),
"number");
272 if ((
long)x!=(
long)tx)
290 const char* s=
zname(Z);
291 if (*s==
'@' || *s==
'=')
294 S.
name=
"binary string";