[Python-checkins] CVS: python/dist/src/Include frameobject.h,2.33,2.34

Neil Schemenauer nascheme@users.sourceforge.net
Wed, 29 Aug 2001 16:45:27 -0700


Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv1702/Include

Modified Files:
	frameobject.h 
Log Message:
Make frames a PyVarObject instead of a PyObject.


Index: frameobject.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/frameobject.h,v
retrieving revision 2.33
retrieving revision 2.34
diff -C2 -d -r2.33 -r2.34
*** frameobject.h	2001/06/23 05:26:56	2.33
--- frameobject.h	2001/08/29 23:45:25	2.34
***************
*** 15,19 ****
  
  typedef struct _frame {
!     PyObject_HEAD
      struct _frame *f_back;	/* previous frame, or NULL */
      PyCodeObject *f_code;	/* code segment */
--- 15,19 ----
  
  typedef struct _frame {
!     PyObject_VAR_HEAD
      struct _frame *f_back;	/* previous frame, or NULL */
      PyCodeObject *f_code;	/* code segment */
***************
*** 35,39 ****
      int f_iblock;		/* index in f_blockstack */
      PyTryBlock f_blockstack[CO_MAXBLOCKS]; /* for try and loop blocks */
-     int f_size;                 /* size of localsplus */
      int f_nlocals;		/* number of locals */
      int f_ncells;
--- 35,38 ----