From 6769f3481701a17d15d513c5b875999d38d81877 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy <roberto@inf.puc-rio.br> Date: Thu, 20 Feb 1997 12:51:14 -0300 Subject: lua_Type is private (preparation for tags) --- opcode.h | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'opcode.h') diff --git a/opcode.h b/opcode.h index dde9c11d..c3942159 100644 --- a/opcode.h +++ b/opcode.h @@ -1,6 +1,6 @@ /* ** TeCGraf - PUC-Rio -** $Id: opcode.h,v 3.24 1996/11/01 12:46:59 roberto Exp roberto $ +** $Id: opcode.h,v 3.25 1997/02/11 11:35:05 roberto Exp roberto $ */ #ifndef opcode_h @@ -14,6 +14,20 @@ #define FIELDS_PER_FLUSH 40 +typedef enum +{ + LUA_T_NIL = -1, + LUA_T_NUMBER = -2, + LUA_T_STRING = -3, + LUA_T_ARRAY = -4, /* array==table */ + LUA_T_FUNCTION = -5, + LUA_T_CFUNCTION= -6, + LUA_T_MARK = -7, + LUA_T_CMARK = -8, + LUA_T_LINE = -9, + LUA_T_USERDATA = 0 +} lua_Type; + typedef enum { /* name parm before after side effect -- cgit v1.2.3-55-g6feb