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
_______________________________________________
[email protected]
http://codespeak.net/mailman/listinfo/pypy-dev

Reply via email to