2 ** $Id: luac.h,v 1.11 1999/07/02 19:34:26 lhf Exp $
3 ** definitions for luac
4 ** See Copyright Notice in lua.h
17 char* name
; /* name of opcode */
18 int op
; /* value of opcode */
19 int class; /* class of opcode (byte variant) */
20 int args
; /* types of arguments (operands) */
22 int arg2
; /* arg #2 */
26 void luaU_dumpchunk(TProtoFunc
* Main
, FILE* D
, int native
);
29 int luaU_opcodeinfo(TProtoFunc
* tf
, Byte
* p
, Opcode
* I
, char* xFILE
, int xLINE
);
30 int luaU_codesize(TProtoFunc
* tf
);
33 void luaU_optchunk(TProtoFunc
* Main
);
36 void luaU_printchunk(TProtoFunc
* Main
);
39 void luaU_testchunk(TProtoFunc
* Main
);
40 TObject
* luaU_getconstant(TProtoFunc
* tf
, int i
, int at
);
42 #define INFO(tf,p,I) luaU_opcodeinfo(tf,p,I,__FILE__,__LINE__)
44 /* fake (but convenient) opcodes */