Hi Timothy,

On Mon, Jun 3, 2013 at 8:55 PM, Timothy Baldridge <[email protected]> wrote:
> I'm attempting to integrate my rpython interpreter with libgmp, and I'm a
> bit confused in how to call the library from my rpython code. it seems we
> have three ways?
>
> rlib.libffi (deprecated?)
> rlib.jit_libffi
> rlib.clibffi

You're looking at the wrong place.  You should instead look at
rpython.rtyper.lltypesystem.rffi, which is minimally documented in
pypy/doc/rffi.rst.  What you list above are ways to invoke libffi,
which is a C library to do dynamic calls.  (Additionally, if the goal
is only to have ints of unlimited size in RPython, there is
rpython.rlib.rbigint.)


A bientôt,

Armin.
_______________________________________________
pypy-dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to