[pypy-commit] pypy cpyext-avoid-roundtrip: (antocuni, arigo)
arigo
pypy.commits at gmail.com
Mon Oct 9 06:16:14 EDT 2017
Author: Armin Rigo <arigo at tunes.org>
Branch: cpyext-avoid-roundtrip
Changeset: r92673:f74697a4cbd1
Date: 2017-10-09 11:31 +0200
http://bitbucket.org/pypy/pypy/changeset/f74697a4cbd1/
Log: (antocuni, arigo)
Fix
diff --git a/pypy/module/cpyext/src/object.c b/pypy/module/cpyext/src/object.c
--- a/pypy/module/cpyext/src/object.c
+++ b/pypy/module/cpyext/src/object.c
@@ -72,7 +72,7 @@
static PyObject *
_type_alloc(PyTypeObject *metatype)
{
- PyHeapTypeObject *heaptype = (PyHeapTypeObject*)_PyPy_Malloc(sizeof(PyTypeObject));
+ PyHeapTypeObject *heaptype = (PyHeapTypeObject*)_PyPy_Malloc(sizeof(PyHeapTypeObject));
PyTypeObject *pto = &heaptype->ht_type;
pto->ob_refcnt = 1;
More information about the pypy-commit
mailing list