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.
Anto, Niko, and all,
I've been trying to get some of the string and float tests to pass. The
trouble I'm running into is that ooparse_float doesn't know how to parse
ll_str_0, but for the life of me can't find where I need to be looking or
where I should override the ooparse_float method. I feel like it should go
in my opcodes.py file (translator/jvm).
Also, one question I had about long conversions, in
translator/jvm/test/test_float.py:22, there is a test for long conversion.
Tracing the …
[View More]results shows I get the correct answer for the conversion, but
my result is not an r_longlong, the tests returns a Java Long. Any tips or
hints?
Regards,
Paul
[View Less]