diff options
Diffstat (limited to 'lobject.h')
-rw-r--r-- | lobject.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lobject.h,v 1.54 2000/03/24 17:26:08 roberto Exp roberto $ | 2 | ** $Id: lobject.h,v 1.55 2000/03/24 19:49:23 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 | */ |
@@ -35,7 +35,7 @@ typedef enum { | |||
35 | TAG_USERDATA = 0, /* default tag for userdata */ | 35 | TAG_USERDATA = 0, /* default tag for userdata */ |
36 | TAG_NUMBER, /* fixed tag for numbers */ | 36 | TAG_NUMBER, /* fixed tag for numbers */ |
37 | TAG_STRING, /* fixed tag for strings */ | 37 | TAG_STRING, /* fixed tag for strings */ |
38 | TAG_ARRAY, /* default tag for tables (or arrays) */ | 38 | TAG_TABLE, /* default tag for tables */ |
39 | TAG_LPROTO, /* fixed tag for Lua functions */ | 39 | TAG_LPROTO, /* fixed tag for Lua functions */ |
40 | TAG_CPROTO, /* fixed tag for C functions */ | 40 | TAG_CPROTO, /* fixed tag for C functions */ |
41 | TAG_NIL, /* last "pre-defined" tag */ | 41 | TAG_NIL, /* last "pre-defined" tag */ |
@@ -67,7 +67,7 @@ typedef union { | |||
67 | struct TString *ts; /* TAG_STRING, TAG_USERDATA */ | 67 | struct TString *ts; /* TAG_STRING, TAG_USERDATA */ |
68 | struct Proto *tf; /* TAG_LPROTO, TAG_LMARK */ | 68 | struct Proto *tf; /* TAG_LPROTO, TAG_LMARK */ |
69 | struct Closure *cl; /* TAG_[CL]CLOSURE, TAG_[CL]CLMARK */ | 69 | struct Closure *cl; /* TAG_[CL]CLOSURE, TAG_[CL]CLMARK */ |
70 | struct Hash *a; /* TAG_ARRAY */ | 70 | struct Hash *a; /* TAG_TABLE */ |
71 | int i; /* TAG_LINE */ | 71 | int i; /* TAG_LINE */ |
72 | } Value; | 72 | } Value; |
73 | 73 | ||