New submission from fijal <fijall@...>:
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.
* 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:
works on my machine :-)
out2.diff is against CPythonLib
title: ctypes for jython
Added file: http://bugs.jython.org/file669/out.diff
Jython tracker <report@...>
Get latest updates about Open Source Projects, Conferences and News.