[pypy-svn] r53175 - pypy/branch/jit-hotpath/pypy/jit/codegen
fijal at codespeak.net
fijal at codespeak.net
Mon Mar 31 03:21:23 CEST 2008
Author: fijal
Date: Mon Mar 31 03:21:22 2008
New Revision: 53175
Modified:
pypy/branch/jit-hotpath/pypy/jit/codegen/model.py
Log:
ARGH! what is not tested is broken
Modified: pypy/branch/jit-hotpath/pypy/jit/codegen/model.py
==============================================================================
--- pypy/branch/jit-hotpath/pypy/jit/codegen/model.py (original)
+++ pypy/branch/jit-hotpath/pypy/jit/codegen/model.py Mon Mar 31 03:21:22 2008
@@ -386,10 +386,10 @@
Python callable object, for testing purposes.
"""
from pypy.rpython.lltypesystem import lltype
- from ctypes import cast, c_void_p, CFUNCTYPE, c_int, c_float
+ from ctypes import cast, c_void_p, CFUNCTYPE, c_int, c_double
def _to_ctypes(t): #limited type support for now
if t == lltype.Float:
- return c_float
+ return c_double
if t == lltype.Void:
return None
return c_int
More information about the Pypy-commit
mailing list