diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-03-30 17:55:50 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-03-30 17:55:50 -0300 |
commit | 8f0f54ec3835f5d1637ae2720e2b4de6a177574a (patch) | |
tree | 8b925203df562cc955e71fef21dd607ac7e2469a /lobject.h | |
parent | 556a89e53751135f45d8dd1e84651461b67e1f81 (diff) | |
download | lua-8f0f54ec3835f5d1637ae2720e2b4de6a177574a.tar.gz lua-8f0f54ec3835f5d1637ae2720e2b4de6a177574a.tar.bz2 lua-8f0f54ec3835f5d1637ae2720e2b4de6a177574a.zip |
name change
Diffstat (limited to 'lobject.h')
-rw-r--r-- | lobject.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lobject.h,v 1.56 2000/03/27 20:10:21 roberto Exp roberto $ | 2 | ** $Id: lobject.h,v 1.57 2000/03/29 20:19:20 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 | */ |
@@ -45,8 +45,8 @@ typedef enum { | |||
45 | TAG_CCLOSURE, /* fixed tag for C closures */ | 45 | TAG_CCLOSURE, /* fixed tag for C closures */ |
46 | TAG_NIL, /* last "pre-defined" tag */ | 46 | TAG_NIL, /* last "pre-defined" tag */ |
47 | 47 | ||
48 | TAG_LCLMARK, /* mark for Lua closures */ | 48 | TAG_LMARK, /* mark for Lua closures */ |
49 | TAG_CCLMARK, /* mark for C closures */ | 49 | TAG_CMARK, /* mark for C closures */ |
50 | 50 | ||
51 | TAG_LINE | 51 | TAG_LINE |
52 | } lua_Type; | 52 | } lua_Type; |
@@ -58,12 +58,12 @@ typedef enum { | |||
58 | /* | 58 | /* |
59 | ** check whether `t' is a mark | 59 | ** check whether `t' is a mark |
60 | */ | 60 | */ |
61 | #define is_T_MARK(t) ((t) == TAG_LCLMARK || (t) == TAG_CCLMARK) | 61 | #define is_T_MARK(t) ((t) == TAG_LMARK || (t) == TAG_CMARK) |
62 | 62 | ||
63 | 63 | ||
64 | typedef union { | 64 | typedef union { |
65 | struct TString *ts; /* TAG_STRING, TAG_USERDATA */ | 65 | struct TString *ts; /* TAG_STRING, TAG_USERDATA */ |
66 | struct Closure *cl; /* TAG_[CL]CLOSURE, TAG_[CL]CLMARK */ | 66 | struct Closure *cl; /* TAG_[CL]CLOSURE, TAG_[CL]MARK */ |
67 | struct Hash *a; /* TAG_TABLE */ | 67 | struct Hash *a; /* TAG_TABLE */ |
68 | Number n; /* TAG_NUMBER */ | 68 | Number n; /* TAG_NUMBER */ |
69 | int i; /* TAG_LINE */ | 69 | int i; /* TAG_LINE */ |