[Insight-users] Java Wrappings and char **

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Thu Nov 26 04:20:37 EST 2009


Le 26 nov. 09 à 10:13, Julien Michel a écrit :

> Dear Wrappings users and developpers,
>
> We are trying to wrap an additionnal class with a method accepting  
> char ** as an argument (it is a command line argument parser).
>
> For now, we did manage to wrap the class, but we are not able to  
> give to this "Parse" method the String S[] from the main method in  
> Java.
>
> We found the following in the swig documentation :
> http://www.swig.org/Doc1.3/Java.html#converting_java_string_arrays
>
> But we did not manage to apply it. Any clue on how to do it ?
>

Hi Julien,

Have you tried to put that code in one of those files:

   Languages/Java/JavaBase/wrap_javaBase.i
   Languages/Java/java.i

Regards,

Gaëtan

-- 
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://voxel.jouy.inra.fr  http://www.itk.org
http://www.mandriva.org  http://www.bepo.fr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 203 bytes
Desc: Ceci est une signature ?lectronique PGP
URL: <http://www.itk.org/pipermail/insight-users/attachments/20091126/1458d937/attachment.pgp>


More information about the Insight-users mailing list