Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > JNI: Transforming primitive types

Thread Tools

JNI: Transforming primitive types

Posts: n/a
Hi everybody,

I would like to know if there is simple way in JNI to pass a float** in c++ to a

should I first search the jclass element, then creating the NewObjectArray and
at the end, coping all the c++ float-elements to the jobjectArray?

is there a simplest and low ressource-consuming way?

thanks a lot,

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Default primitive values from primitive Class<?> object. Daniel Pitts Java 7 10-23-2008 04:30 PM
JNI: Transforming primitive types Marcelo Java 3 01-23-2006 06:57 AM
Primitive vs. non-primitive l-value C++ 7 05-09-2005 02:52 PM
Loading classes with primitive types in constructor munki Java 5 10-08-2003 01:24 PM
Collections API for primitive types =?ISO-8859-1?Q?S=F8ren_Bak?= Java 0 08-27-2003 06:59 PM