From: josu j. <jos...@gm...> - 2010-03-05 10:05:54
|
Thanks again, Nicholas (sure that the first thing should be "thanks for your work!") Just one question more, ;): Usually, I use jna (or sometimes jni) to access native libraries under jython. I think that the advantage of ctypes is the use of work derived from CPython. Do you expect that will be easily ported code using ctypes from CPyhton to jython (I am thinking in numpy and so on ... )? josu On 2010 mar 5, at 08:54, Nicholas Riley wrote: > On Mar 5, 2010, at 1:41 AM, josu jugo wrote: >> >> OK, I will read it more deeply. However, I have been following typical ctypes examples (as the previous one) without luck. So, I have gone more speedy than I should go. > > Feel free to keep asking questions on the mailing list. I don't know of anyone else using the ctypes support, so at least this will provide some motivation for the people working on it :-) > > Of note, CPython's ctypes can't read the parameters for strlen either; it just makes some assumptions about the types you pass into it. > > -- > Nicholas Riley <nj...@il...> > |