« Return to Thread: How to fetch passed in reference array object
Hi,
I am trying to integrate my python program with Java program which
comes in the form of jar. I am able to create an instance of a java
class and also call a method. Below is a function signature of same
instance method.
public int JavaInstanceMethod( int FirstArg, int SecArg, char[] ThirdArg)
This method should return int and also writes something into ThirdArg buffer.
When i call this method in python using jype, JavaInstanceMethod
returns me the proper int value. However i am not sure how to fetch
the ThirdArg.
I tried to pass an empty list object as ThirdArg. But nothing gets
appended to the same list object after this JavaInstanceMethod call.
Is it possible to pass in an reference char Array object to
JavaInstanceMethod and fetch the modified object ?
--
Bidda
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:
Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Jpype-users mailing list
Jpype-users@...
https://lists.sourceforge.net/lists/listinfo/jpype-users
« Return to Thread: How to fetch passed in reference array object
| Free embeddable forum powered by Nabble | Forum Help |