Roberto Ierusalimschy 25 年之前
父节点
当前提交
bd39db46ed
共有 1 个文件被更改,包括 5 次插入4 次删除
  1. 5 4
      lobject.h

+ 5 - 4
lobject.h

@@ -1,5 +1,5 @@
 /*
 /*
-** $Id: lobject.h,v 1.71 2000/08/07 20:21:34 roberto Exp roberto $
+** $Id: lobject.h,v 1.72 2000/08/08 18:26:05 roberto Exp roberto $
 ** Type definitions for Lua objects
 ** Type definitions for Lua objects
 ** See Copyright Notice in lua.h
 ** See Copyright Notice in lua.h
 */
 */
@@ -117,14 +117,15 @@ typedef struct Proto {
   struct Proto **kproto;  /* functions defined inside the function */
   struct Proto **kproto;  /* functions defined inside the function */
   int nkproto;  /* size of `kproto' */
   int nkproto;  /* size of `kproto' */
   Instruction *code;  /* ends with opcode ENDCODE */
   Instruction *code;  /* ends with opcode ENDCODE */
+  int numparams;
+  int is_vararg;
+  int maxstacksize;
   struct Proto *next;
   struct Proto *next;
   int marked;
   int marked;
+  /* debug information */
   int *lineinfo;  /* map from opcodes to source lines */
   int *lineinfo;  /* map from opcodes to source lines */
   int lineDefined;
   int lineDefined;
   TString  *source;
   TString  *source;
-  int numparams;
-  int is_vararg;
-  int maxstacksize;
   struct LocVar *locvars;  /* ends with line = -1 */
   struct LocVar *locvars;  /* ends with line = -1 */
 } Proto;
 } Proto;