From 8a1a512c6484b93e8a4ad81f0bffe818a585c1ee Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 5 Mar 2002 09:42:47 -0300 Subject: lu_byte is enough for those fields (maxstack < 256) --- lobject.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lobject.h') diff --git a/lobject.h b/lobject.h index 5b2a1bf3..873fdc93 100644 --- a/lobject.h +++ b/lobject.h @@ -1,5 +1,5 @@ /* -** $Id: lobject.h,v 1.1 2001/11/29 22:14:34 rieru Exp rieru $ +** $Id: lobject.h,v 1.124 2002/02/08 22:42:41 roberto Exp roberto $ ** Type definitions for Lua objects ** See Copyright Notice in lua.h */ @@ -147,11 +147,11 @@ typedef struct Proto { int sizelineinfo; /* size of `lineinfo' */ int sizelocvars; int lineDefined; - short nupvalues; - short numparams; - short is_vararg; - short maxstacksize; - short marked; + lu_byte nupvalues; + lu_byte numparams; + lu_byte is_vararg; + lu_byte maxstacksize; + lu_byte marked; } Proto; -- cgit v1.2.3-55-g6feb