Message4596
This is a basic patch that adds enough of _rawffi to actually run some
simple ctypes code. It should be fairly obvious how to proceed now.
Issues:
* make ant create a test .so. I have more tests, but unittest has no way
to skip. Bummer
* I have disabled java security. jna has to be fixed somehow for that.
* More care is needed about field sizes/alignment, I want ant do it
for me, hardcoding sucks.
* It's unfinished
but the example:
import ctypes
ctypes.CDLL('libc.so.6').time(0)
works on my machine :-)
out2.diff is against CPythonLib |
|
Date |
User |
Action |
Args |
2009-04-26 02:15:18 | fijal | set | recipients:
+ fijal |
2009-04-26 02:15:18 | fijal | set | messageid: <1240712118.49.0.36303746229.issue1328@psf.upfronthosting.co.za> |
2009-04-26 02:15:18 | fijal | link | issue1328 messages |
2009-04-26 02:15:17 | fijal | create | |
|