summaryrefslogtreecommitdiff
path: root/opcode.h
diff options
context:
space:
mode:
Diffstat (limited to 'opcode.h')
-rw-r--r--opcode.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/opcode.h b/opcode.h
index d691233c..89490262 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.29 1997/03/19 19:41:10 roberto Exp roberto $ 3** $Id: opcode.h,v 3.30 1997/03/20 19:20:43 roberto Exp roberto $
4*/ 4*/
5 5
6#ifndef opcode_h 6#ifndef opcode_h
@@ -125,11 +125,11 @@ typedef union
125 int i; 125 int i;
126} Value; 126} Value;
127 127
128typedef struct Object 128typedef struct TObject
129{ 129{
130 lua_Type ttype; 130 lua_Type ttype;
131 Value value; 131 Value value;
132} Object; 132} TObject;
133 133
134 134
135/* Macros to access structure members */ 135/* Macros to access structure members */
@@ -159,10 +159,10 @@ typedef struct Object
159/* Exported functions */ 159/* Exported functions */
160void lua_parse (TFunc *tf); /* from "lua.stx" module */ 160void lua_parse (TFunc *tf); /* from "lua.stx" module */
161void luaI_codedebugline (int line); /* from "lua.stx" module */ 161void luaI_codedebugline (int line); /* from "lua.stx" module */
162void lua_travstack (int (*fn)(Object *)); 162void lua_travstack (int (*fn)(TObject *));
163Object *luaI_Address (lua_Object o); 163TObject *luaI_Address (lua_Object o);
164void luaI_pushobject (Object *o); 164void luaI_pushobject (TObject *o);
165void luaI_gcIM (Object *o); 165void luaI_gcIM (TObject *o);
166int luaI_dorun (TFunc *tf); 166int luaI_dorun (TFunc *tf);
167 167
168#endif 168#endif