aboutsummaryrefslogtreecommitdiff
path: root/lobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'lobject.h')
-rw-r--r--lobject.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lobject.h b/lobject.h
index a02cc047..cb9670ed 100644
--- a/lobject.h
+++ b/lobject.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lobject.h,v 1.62 2000/05/08 19:32:53 roberto Exp roberto $ 2** $Id: lobject.h,v 1.63 2000/05/08 19:37:10 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*/
@@ -93,6 +93,7 @@ typedef struct TString {
93 struct { /* for strings */ 93 struct { /* for strings */
94 unsigned long hash; 94 unsigned long hash;
95 long len; 95 long len;
96 int constindex; /* hint to reuse constants */
96 } s; 97 } s;
97 struct { /* for userdata */ 98 struct { /* for userdata */
98 int tag; 99 int tag;
@@ -100,7 +101,6 @@ typedef struct TString {
100 } d; 101 } d;
101 } u; 102 } u;
102 struct TString *nexthash; /* chain for hash table */ 103 struct TString *nexthash; /* chain for hash table */
103 int constindex; /* hint to reuse constants (= -1 if this is a userdata) */
104 unsigned char marked; 104 unsigned char marked;
105 char str[1]; /* variable length string!! must be the last field! */ 105 char str[1]; /* variable length string!! must be the last field! */
106} TString; 106} TString;