aboutsummaryrefslogtreecommitdiff
path: root/tree.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-07-30 19:00:50 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-07-30 19:00:50 -0300
commit0892f0e5b75c51f1fee07276a3ba13301b83409e (patch)
tree9f3b9ec92f26c05a85c826ffc5f803fda2f48867 /tree.h
parent1d7857bc635c0bfe7c5b1f325d31feb7660e9a5a (diff)
downloadlua-0892f0e5b75c51f1fee07276a3ba13301b83409e.tar.gz
lua-0892f0e5b75c51f1fee07276a3ba13301b83409e.tar.bz2
lua-0892f0e5b75c51f1fee07276a3ba13301b83409e.zip
BIG CHANGE: functions have their own "constant table".
Diffstat (limited to 'tree.h')
-rw-r--r--tree.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tree.h b/tree.h
index 0b501918..c898bb20 100644
--- a/tree.h
+++ b/tree.h
@@ -1,7 +1,7 @@
1/* 1/*
2** tree.h 2** tree.h
3** TecCGraf - PUC-Rio 3** TecCGraf - PUC-Rio
4** $Id: tree.h,v 1.17 1997/05/14 18:38:29 roberto Exp roberto $ 4** $Id: tree.h,v 1.18 1997/06/09 17:28:14 roberto Exp roberto $
5*/ 5*/
6 6
7#ifndef tree_h 7#ifndef tree_h
@@ -19,7 +19,7 @@ typedef struct TaggedString
19 union { 19 union {
20 struct { 20 struct {
21 Word varindex; /* != NOT_USED if this is a symbol */ 21 Word varindex; /* != NOT_USED if this is a symbol */
22 Word constindex; /* != NOT_USED if this is a constant */ 22 Word constindex; /* hint to reuse constant indexes */
23 } s; 23 } s;
24 void *v; /* if this is a userdata, here is its value */ 24 void *v; /* if this is a userdata, here is its value */
25 } u; 25 } u;
@@ -29,7 +29,7 @@ typedef struct TaggedString
29} TaggedString; 29} TaggedString;
30 30
31 31
32TaggedString *lua_createstring (char *str); 32TaggedString *luaI_createstring (char *str);
33TaggedString *luaI_createudata (void *udata, int tag); 33TaggedString *luaI_createudata (void *udata, int tag);
34TaggedString *luaI_strcollector (long *cont); 34TaggedString *luaI_strcollector (long *cont);
35void luaI_strfree (TaggedString *l); 35void luaI_strfree (TaggedString *l);