![](https://secure.gravatar.com/avatar/5b37e6b4ac97453e4ba9dba37954cf79.jpg?s=120&d=mm&r=g)
6 Jul
2006
6 Jul
'06
4:43 p.m.
Hi, 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 section: http://codespeak.net/pypy/dist/pypy/doc/rctypes.html#restrictions A bientot, Armin