diff options
author | Tim Peters <tim.peters@gmail.com> | 2002-03-23 00:28:57 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2002-03-23 00:28:57 (GMT) |
commit | ce7fb9b5151f7238bdbaeb16c3041c9990ca8e9d (patch) | |
tree | 4af5f0a9e36f2d54888b2e0194fae35db9508773 | |
parent | 1221c0a435135143632d986e861d9243d3d2ad35 (diff) | |
download | cpython-ce7fb9b5151f7238bdbaeb16c3041c9990ca8e9d.zip cpython-ce7fb9b5151f7238bdbaeb16c3041c9990ca8e9d.tar.gz cpython-ce7fb9b5151f7238bdbaeb16c3041c9990ca8e9d.tar.bz2 |
Just whitespace fiddling.
-rw-r--r-- | Objects/obmalloc.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Objects/obmalloc.c b/Objects/obmalloc.c index a3f4cf8..4e141c7 100644 --- a/Objects/obmalloc.c +++ b/Objects/obmalloc.c @@ -61,7 +61,7 @@ * * For small requests, the allocator sub-allocates <Big> blocks of memory. * Requests greater than 256 bytes are routed to the system's allocator. - * + * * Small requests are grouped in size classes spaced 8 bytes apart, due * to the required valid alignment of the returned address. Requests of * a particular size are serviced from memory pools of 4K (one VMM page). @@ -94,7 +94,7 @@ * ... ... ... * 241-248 248 30 * 249-256 256 31 - * + * * 0, 257 and up: routed to the underlying allocator. */ @@ -472,7 +472,7 @@ _PyMalloc_Malloc(size_t nbytes) UNLOCK(); goto redirect; } - /* + /* * Keep a reference in the list of allocated arenas. We might * want to release (some of) them in the future. The first * word is never used, no matter whether the returned address @@ -491,7 +491,7 @@ _PyMalloc_Malloc(size_t nbytes) /* The small block allocator ends here. */ redirect: - + /* * Redirect the original request to the underlying (libc) allocator. * We jump here on bigger requests, on error in the code above (as a @@ -641,14 +641,14 @@ _PyMalloc_Calloc(size_t nbel, size_t elsz) */ #else /* ! WITH_PYMALLOC */ -void -*_PyMalloc_Malloc(size_t n) +void * +_PyMalloc_Malloc(size_t n) { return PyMem_MALLOC(n); } -void -*_PyMalloc_Realloc(void *p, size_t n) +void * +_PyMalloc_Realloc(void *p, size_t n) { return PyMem_REALLOC(p, n); } @@ -660,8 +660,8 @@ _PyMalloc_Free(void *p) } #endif /* WITH_PYMALLOC */ -PyObject -*_PyMalloc_New(PyTypeObject *tp) +PyObject * +_PyMalloc_New(PyTypeObject *tp) { PyObject *op; op = (PyObject *) _PyMalloc_MALLOC(_PyObject_SIZE(tp)); |