[pypy-svn] r36015 - in pypy/dist/pypy/rlib/rctypes: . test
arigo at codespeak.net
arigo at codespeak.net
Thu Dec 28 13:01:05 CET 2006
Author: arigo
Date: Thu Dec 28 13:01:02 2006
New Revision: 36015
Modified:
pypy/dist/pypy/rlib/rctypes/rpointer.py
pypy/dist/pypy/rlib/rctypes/test/test_rprimitive.py
Log:
Another specialization fix.
Modified: pypy/dist/pypy/rlib/rctypes/rpointer.py
==============================================================================
--- pypy/dist/pypy/rlib/rctypes/rpointer.py (original)
+++ pypy/dist/pypy/rlib/rctypes/rpointer.py Thu Dec 28 13:01:02 2006
@@ -36,6 +36,7 @@
# not supported by ctypes either
contentsobj = obj.get_contents()
self.contentscontroller.set_value(contentsobj, value)
+ setitem._annspecialcase_ = 'specialize:arg(0)'
PointerCTypeController.register_for_metatype(PointerType)
Modified: pypy/dist/pypy/rlib/rctypes/test/test_rprimitive.py
==============================================================================
--- pypy/dist/pypy/rlib/rctypes/test/test_rprimitive.py (original)
+++ pypy/dist/pypy/rlib/rctypes/test/test_rprimitive.py Thu Dec 28 13:01:02 2006
@@ -255,7 +255,6 @@
interpret(func, [])
def test_convert_from_llvalue(self):
- py.test.skip("in-progress")
def func():
x = c_ushort(5)
pointer(x)[0] += 1
More information about the Pypy-commit
mailing list