[pypy-commit] pypy cpyext-gc-cycle: Fixed some formatting issues
stevie_92
pypy.commits at gmail.com
Fri Jan 11 05:39:22 EST 2019
Author: Stefan Beyer <home at sbeyer.at>
Branch: cpyext-gc-cycle
Changeset: r95613:80824650968a
Date: 2018-08-24 09:30 +0200
http://bitbucket.org/pypy/pypy/changeset/80824650968a/
Log: Fixed some formatting issues
diff --git a/pypy/module/cpyext/parse/cpyext_object.h b/pypy/module/cpyext/parse/cpyext_object.h
--- a/pypy/module/cpyext/parse/cpyext_object.h
+++ b/pypy/module/cpyext/parse/cpyext_object.h
@@ -332,4 +332,4 @@
typedef struct _gchdr_pyobject {
Py_ssize_t ob_refcnt;
Py_ssize_t ob_pypy_link;
-} GCHdr_PyObject;
\ No newline at end of file
+} GCHdr_PyObject;
diff --git a/pypy/module/cpyext/pyobject.py b/pypy/module/cpyext/pyobject.py
--- a/pypy/module/cpyext/pyobject.py
+++ b/pypy/module/cpyext/pyobject.py
@@ -406,6 +406,7 @@
# if w_obj is not None:
# assert pyobj.c_ob_refcnt >= rawrefcount.REFCNT_FROM_PYPY
+
@init_function
def write_w_marker_deallocating(space):
if we_are_translated():
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
@@ -221,4 +221,4 @@
{
obj->ob_size = size;
return (PyVarObject*)PyObject_Init((PyObject*)obj, type);
-}
\ No newline at end of file
+}
More information about the pypy-commit
mailing list