[pypy-dev] rffi feature request

Simon Burton simon at arrowtheory.com
Sun Aug 5 03:14:03 CEST 2007


On Fri, 3 Aug 2007 12:14:13 -0700
Simon Burton <simon at arrowtheory.com> wrote:

> 
> I would like to expose some functions as external
> symbols when i build a .so
> 
> def foo(i, j):
>     return i+j
> 
> foo._expose_ = [rffi.INT, rffi.INT]

It seems like this could also enable a plugin system for rpython,
and for example, (c or rpython) extension modules for the PyPy interpreter.

Simon.



More information about the Pypy-dev mailing list