2 messages in net.java.dev.jna.usersAccess to Java arrays
FromSent OnAttachments
Mosher, Chuck C.Feb 19, 2008 4:35 pm 
Albert StrasheimFeb 19, 2008 9:41 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Access to Java arraysActions...
From:Mosher, Chuck C. (Chuc@conocophillips.com)
Date:Feb 19, 2008 4:35:30 pm
List:net.java.dev.jna.users

A typical new user question, I bet:

I am working in on project (www.javaseis.org) that uses large arrays created in Java. We currently call native methods through JNI to act on these arrays, which results in a copy operation. Does JNA provide a means to pass pointers to Java arrays directly to native methods, avoiding the copy ?

Thanks,

Chuck Mosher JavaSeis.org, JavaSeis.sf.net