[pypy-commit] pypy ffi-backend: Return 'signed char'.
arigo
noreply at buildbot.pypy.org
Fri Aug 3 12:51:20 CEST 2012
Author: Armin Rigo <arigo at tunes.org>
Branch: ffi-backend
Changeset: r56555:1afcd66626da
Date: 2012-08-03 12:51 +0200
http://bitbucket.org/pypy/pypy/changeset/1afcd66626da/
Log: Return 'signed char'.
diff --git a/pypy/jit/metainterp/test/test_fficall.py b/pypy/jit/metainterp/test/test_fficall.py
--- a/pypy/jit/metainterp/test/test_fficall.py
+++ b/pypy/jit/metainterp/test/test_fficall.py
@@ -97,6 +97,10 @@
def test_returns_none(self):
self._run([types.signed] * 2, types.void, [456, 789], None)
+ def test_returns_signedchar(self):
+ self._run([types.signed], types.sint8, [456],
+ rffi.cast(rffi.SIGNEDCHAR, -42))
+
class TestFfiCall(FfiCallTests, LLJitMixin):
pass
More information about the pypy-commit
mailing list