diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-07-30 19:00:50 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-07-30 19:00:50 -0300 |
commit | 0892f0e5b75c51f1fee07276a3ba13301b83409e (patch) | |
tree | 9f3b9ec92f26c05a85c826ffc5f803fda2f48867 /tree.h | |
parent | 1d7857bc635c0bfe7c5b1f325d31feb7660e9a5a (diff) | |
download | lua-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.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 | ||
32 | TaggedString *lua_createstring (char *str); | 32 | TaggedString *luaI_createstring (char *str); |
33 | TaggedString *luaI_createudata (void *udata, int tag); | 33 | TaggedString *luaI_createudata (void *udata, int tag); |
34 | TaggedString *luaI_strcollector (long *cont); | 34 | TaggedString *luaI_strcollector (long *cont); |
35 | void luaI_strfree (TaggedString *l); | 35 | void luaI_strfree (TaggedString *l); |