summaryrefslogtreecommitdiffstats
path: root/Objects/intobject.c
diff options
context:
space:
mode:
authorSjoerd Mullender <sjoerd@acm.org>1993-10-11 12:54:31 (GMT)
committerSjoerd Mullender <sjoerd@acm.org>1993-10-11 12:54:31 (GMT)
commita9c3c22c33762699b362e7598268442fd2df9eb6 (patch)
tree7ff6bdfb7228abf0a566b6d3215a383796bd5cbf /Objects/intobject.c
parent35fe6ec4cf6e192829a5bd28c080761157258e3e (diff)
downloadcpython-a9c3c22c33762699b362e7598268442fd2df9eb6.zip
cpython-a9c3c22c33762699b362e7598268442fd2df9eb6.tar.gz
cpython-a9c3c22c33762699b362e7598268442fd2df9eb6.tar.bz2
* Extended X interface: pixmap objects, colormap objects visual objects,
image objects, and lots of new methods. * Added counting of allocations and deallocations of builtin types if COUNT_ALLOCS is defined. Had to move calls to NEWREF down in some files. * Bug fix in sorting lists.
Diffstat (limited to 'Objects/intobject.c')
-rw-r--r--Objects/intobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/intobject.c b/Objects/intobject.c
index 3021873..816a411 100644
--- a/Objects/intobject.c
+++ b/Objects/intobject.c
@@ -87,9 +87,9 @@ newintobject(ival)
}
v = free_list;
free_list = *(intobject **)free_list;
- NEWREF(v);
v->ob_type = &Inttype;
v->ob_ival = ival;
+ NEWREF(v);
return (object *) v;
}