I have a C structure.
struct data{
double value1[50];
double value2[50];
int count;
};
I want to map data from java to this C structure.How can I do it using JNI? The java code will not be programmed by me. The java programmer just wants to know in which form should he send me the data? Should he expect any more details
I am currently testing my code by filling the structure instance with a CSV file containing 2 columns.
I also want to return 3 double values from my C code to the java application.