I am trying to pass a string value from java to c. And, a hashmap from C to java. I am trying to pass this using same method in C. But, I can't do that in a same method. I need the string data to fill my hashmap. So, I need to do it inside a single method. If I fill the hashmap(filling data locally) from C, it passes.
What I have tried:
Is it possible to pass data back and forth using the same method in C?