diff options
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); |