diff options
| author | Sjoerd Mullender <sjoerd@acm.org> | 1993-10-11 12:54:31 +0000 |
|---|---|---|
| committer | Sjoerd Mullender <sjoerd@acm.org> | 1993-10-11 12:54:31 +0000 |
| commit | a9c3c22c33762699b362e7598268442fd2df9eb6 (patch) | |
| tree | 7ff6bdfb7228abf0a566b6d3215a383796bd5cbf /Objects/floatobject.c | |
| parent | 35fe6ec4cf6e192829a5bd28c080761157258e3e (diff) | |
| download | cpython-git-a9c3c22c33762699b362e7598268442fd2df9eb6.tar.gz | |
* 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/floatobject.c')
| -rw-r--r-- | Objects/floatobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/floatobject.c b/Objects/floatobject.c index 9994523c68..d3a2c771b2 100644 --- a/Objects/floatobject.c +++ b/Objects/floatobject.c @@ -60,9 +60,9 @@ newfloatobject(fval) register floatobject *op = (floatobject *) malloc(sizeof(floatobject)); if (op == NULL) return err_nomem(); - NEWREF(op); op->ob_type = &Floattype; op->ob_fval = fval; + NEWREF(op); return (object *) op; } |
