[pypy-dev] question on using ctypes

Armin Rigo arigo at tunes.org
Thu Jul 6 13:13:30 CEST 2006


On Wed, Jul 05, 2006 at 11:47:00AM +0200, Amaury Forgeot d'Arc wrote:
> I suggest (but I did not test) adding this line somewhere in
> targetstandalone.py:
>     import pypy.rpython.rctypes.implementation
> This should register the annotation for calling ctypes functions.

Indeed, this module needs to be imported from somewhere.  I'd recommend
to import it from tcc.py directly, even.  See the end of the following


A bientot,


More information about the Pypy-dev mailing list