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]

This is basically so I can write cpython extension modules in rpython.
(and manually doing ref counting (etc.) on the cpython objects.)

Simon.
_______________________________________________
[email protected]
http://codespeak.net/mailman/listinfo/pypy-dev

Reply via email to