[pypy-dev] RFFI Usage and Documentation

2015-06-22 Thread Derek Lockhart
After a bit of a struggle I finally got RFFI working for a shared libary I had compiled. I found a few strange discrepancies in the behavior of ExternalCompilitionInfo on OSX I thought may benefit from fixes to make behavior more consistent. === RPython Translation vs. Python Execution Strangeness

Re: [pypy-dev] RFFI Usage and Documentation

2015-06-22 Thread Derek Lockhart
To further expand on the strangeness, when using my libsoftfloat.dylib file and trying to create getters/setters to an internal variable using rffi.CExternVariable, I get the following error: File "/Users/dmlockhart/vc/hg-opensource/pypy/rpython/rtyper/lltypesystem/ll2ctypes.py", line 1169, in g

Re: [pypy-dev] RFFI Usage and Documentation

2015-06-22 Thread Ryan Gonzalez
On June 22, 2015 10:17:24 AM CDT, Derek Lockhart wrote: >After a bit of a struggle I finally got RFFI working for a shared >libary I >had compiled. I found a few strange discrepancies in the behavior of >ExternalCompilitionInfo on OSX I thought may benefit from fixes to make >behavior more cons

Re: [pypy-dev] RFFI Usage and Documentation

2015-06-22 Thread Armin Rigo
Hi Derek, On 22 June 2015 at 17:17, Derek Lockhart wrote: > After a bit of a struggle I finally got RFFI working for a shared libary I > had compiled. I found a few strange discrepancies in the behavior of > ExternalCompilitionInfo on OSX I thought may benefit from fixes to make > behavior more c