diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-03-05 09:42:47 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-03-05 09:42:47 -0300 |
| commit | 8a1a512c6484b93e8a4ad81f0bffe818a585c1ee (patch) | |
| tree | fc3caaf321a560818ad1d15ea6fec8b00e708990 /lobject.h | |
| parent | 6b0c38c2e7da04c6bb1eb670cf45cf430881c9f9 (diff) | |
| download | lua-8a1a512c6484b93e8a4ad81f0bffe818a585c1ee.tar.gz lua-8a1a512c6484b93e8a4ad81f0bffe818a585c1ee.tar.bz2 lua-8a1a512c6484b93e8a4ad81f0bffe818a585c1ee.zip | |
lu_byte is enough for those fields (maxstack < 256)
Diffstat (limited to 'lobject.h')
| -rw-r--r-- | lobject.h | 12 |
1 files changed, 6 insertions, 6 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lobject.h,v 1.1 2001/11/29 22:14:34 rieru Exp rieru $ | 2 | ** $Id: lobject.h,v 1.124 2002/02/08 22:42:41 roberto Exp roberto $ |
| 3 | ** Type definitions for Lua objects | 3 | ** Type definitions for Lua objects |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -147,11 +147,11 @@ typedef struct Proto { | |||
| 147 | int sizelineinfo; /* size of `lineinfo' */ | 147 | int sizelineinfo; /* size of `lineinfo' */ |
| 148 | int sizelocvars; | 148 | int sizelocvars; |
| 149 | int lineDefined; | 149 | int lineDefined; |
| 150 | short nupvalues; | 150 | lu_byte nupvalues; |
| 151 | short numparams; | 151 | lu_byte numparams; |
| 152 | short is_vararg; | 152 | lu_byte is_vararg; |
| 153 | short maxstacksize; | 153 | lu_byte maxstacksize; |
| 154 | short marked; | 154 | lu_byte marked; |
| 155 | } Proto; | 155 | } Proto; |
| 156 | 156 | ||
| 157 | 157 | ||
