Message4596

Author fijal
Recipients fijal
Date 2009-04-26.02:15:14
SpamBayes Score 1.0052015e-11
Marked as misclassified No
Message-id <1240712118.49.0.36303746229.issue1328@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2009-04-26 02:15:18fijalsetrecipients: + fijal
2009-04-26 02:15:18fijalsetmessageid: <1240712118.49.0.36303746229.issue1328@psf.upfronthosting.co.za>
2009-04-26 02:15:18fijallinkissue1328 messages
2009-04-26 02:15:17fijalcreate