summaryrefslogtreecommitdiff
path: root/lobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'lobject.h')
-rw-r--r--lobject.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lobject.h b/lobject.h
index 844111ff..d4912251 100644
--- a/lobject.h
+++ b/lobject.h
@@ -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
64typedef union { 64typedef 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 */