JNI: Transforming primitive types

Discussion in 'Java' started by Marcelo, Jan 19, 2006.

  1. Marcelo

    Marcelo Guest

    Hi everybody,

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

    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,

    Marcelo
     
    Marcelo, Jan 19, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Marcelo
    Replies:
    3
    Views:
    827
    Gordon Beaton
    Jan 23, 2006
  2. Replies:
    7
    Views:
    613
    Victor Bazarov
    May 9, 2005
  3. Bill Medland
    Replies:
    1
    Views:
    1,549
    Jean-Francois Briere
    Oct 26, 2006
  4. bernd
    Replies:
    1
    Views:
    799
    bernd
    Jun 13, 2008
  5. Daniel Pitts
    Replies:
    7
    Views:
    488
Loading...

Share This Page