aboutsummaryrefslogtreecommitdiff
path: root/opcode.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-02-20 12:51:14 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-02-20 12:51:14 -0300
commit6769f3481701a17d15d513c5b875999d38d81877 (patch)
treeaedeeba87f17a4633750f5d9fdd5d7d001326293 /opcode.h
parent0b110f7922b2e5c066f3b10f50e4d1079ccd7f93 (diff)
downloadlua-6769f3481701a17d15d513c5b875999d38d81877.tar.gz
lua-6769f3481701a17d15d513c5b875999d38d81877.tar.bz2
lua-6769f3481701a17d15d513c5b875999d38d81877.zip
lua_Type is private (preparation for tags)
Diffstat (limited to 'opcode.h')
-rw-r--r--opcode.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/opcode.h b/opcode.h
index dde9c11d..c3942159 100644
--- a/opcode.h
+++ b/opcode.h
@@ -1,6 +1,6 @@
1/* 1/*
2** TeCGraf - PUC-Rio 2** TeCGraf - PUC-Rio
3** $Id: opcode.h,v 3.24 1996/11/01 12:46:59 roberto Exp roberto $ 3** $Id: opcode.h,v 3.25 1997/02/11 11:35:05 roberto Exp roberto $
4*/ 4*/
5 5
6#ifndef opcode_h 6#ifndef opcode_h
@@ -14,6 +14,20 @@
14 14
15#define FIELDS_PER_FLUSH 40 15#define FIELDS_PER_FLUSH 40
16 16
17typedef enum
18{
19 LUA_T_NIL = -1,
20 LUA_T_NUMBER = -2,
21 LUA_T_STRING = -3,
22 LUA_T_ARRAY = -4, /* array==table */
23 LUA_T_FUNCTION = -5,
24 LUA_T_CFUNCTION= -6,
25 LUA_T_MARK = -7,
26 LUA_T_CMARK = -8,
27 LUA_T_LINE = -9,
28 LUA_T_USERDATA = 0
29} lua_Type;
30
17 31
18typedef enum { 32typedef enum {
19/* name parm before after side effect 33/* name parm before after side effect