summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>2001-08-29 23:45:25 (GMT)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>2001-08-29 23:45:25 (GMT)
commit251ead8dd80583ee4d533b3707495cf816036027 (patch)
tree268455d08e2bcedf4ef1914a52fa511070032e71
parent9c63e6d6827575f8ee8b09d1a87bd50e8ceba484 (diff)
downloadcpython-251ead8dd80583ee4d533b3707495cf816036027.zip
cpython-251ead8dd80583ee4d533b3707495cf816036027.tar.gz
cpython-251ead8dd80583ee4d533b3707495cf816036027.tar.bz2
Make frames a PyVarObject instead of a PyObject.
-rw-r--r--Include/frameobject.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Include/frameobject.h b/Include/frameobject.h
index e2bf7a1..ac02f92 100644
--- a/Include/frameobject.h
+++ b/Include/frameobject.h
@@ -14,7 +14,7 @@ typedef struct {
} PyTryBlock;
typedef struct _frame {
- PyObject_HEAD
+ PyObject_VAR_HEAD
struct _frame *f_back; /* previous frame, or NULL */
PyCodeObject *f_code; /* code segment */
PyObject *f_builtins; /* builtin symbol table (PyDictObject) */
@@ -34,7 +34,6 @@ typedef struct _frame {
in this scope */
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;
int f_nfreevars;