diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-06-05 15:17:01 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-06-05 15:17:01 -0300 |
| commit | 762d059a13d83eb367238a6115bbb4f5f13fcb49 (patch) | |
| tree | f35fdf0675b791865d0d4800522b172903b34803 /lobject.h | |
| parent | 572a69b6afbd368beab8844bc876b0f9690b5253 (diff) | |
| download | lua-762d059a13d83eb367238a6115bbb4f5f13fcb49.tar.gz lua-762d059a13d83eb367238a6115bbb4f5f13fcb49.tar.bz2 lua-762d059a13d83eb367238a6115bbb4f5f13fcb49.zip | |
new implementation for the Virtual Machine
Diffstat (limited to 'lobject.h')
| -rw-r--r-- | lobject.h | 8 |
1 files changed, 3 insertions, 5 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lobject.h,v 1.101 2001/03/07 18:09:25 roberto Exp roberto $ | 2 | ** $Id: lobject.h,v 1.102 2001/04/11 14: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 | */ |
| @@ -114,10 +114,8 @@ union L_UTString { | |||
| 114 | ** Function Prototypes | 114 | ** Function Prototypes |
| 115 | */ | 115 | */ |
| 116 | typedef struct Proto { | 116 | typedef struct Proto { |
| 117 | lua_Number *knum; /* numbers used by the function */ | 117 | TObject *k; /* constants used by the function */ |
| 118 | int sizeknum; /* size of `knum' */ | 118 | int sizek; /* size of `k' */ |
| 119 | struct TString **kstr; /* strings used by the function */ | ||
| 120 | int sizekstr; /* size of `kstr' */ | ||
| 121 | struct Proto **kproto; /* functions defined inside the function */ | 119 | struct Proto **kproto; /* functions defined inside the function */ |
| 122 | int sizekproto; /* size of `kproto' */ | 120 | int sizekproto; /* size of `kproto' */ |
| 123 | Instruction *code; | 121 | Instruction *code; |
