Author: Armin Rigo <[email protected]>
Branch: cpyext-old-buffers
Changeset: r84776:de63a9138e87
Date: 2016-05-28 09:30 +0200
http://bitbucket.org/pypy/pypy/changeset/de63a9138e87/

Log:    Windows support

diff --git a/pypy/module/cpyext/test/test_abstract.py 
b/pypy/module/cpyext/test/test_abstract.py
--- a/pypy/module/cpyext/test/test_abstract.py
+++ b/pypy/module/cpyext/test/test_abstract.py
@@ -38,9 +38,9 @@
              """
                  void *ptr;
                  Py_ssize_t size;
+                 Py_ssize_t i;
                  if (PyObject_AsWriteBuffer(args, &ptr, &size) < 0)
                      return NULL;
-                 Py_ssize_t i;
                  for (i = 0; i < size; i++) {
                      ((char*)ptr)[i] = 0;
                  }
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to