Quantcast

SWIG : Typemap SWIGTYPE_p_void(void *) having value char to String at JAVA/JNI

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

SWIG : Typemap SWIGTYPE_p_void(void *) having value char to String at JAVA/JNI

nitz_swig
This post has NOT been accepted by the mailing list yet.
This post was updated on .
           
Hi Folks,

       C:
            char value[10] = {0};
            updatejava((void*)value);//Call JNI



           
            Java:
            updatejava(SWIGTYPE_p_void pValue)
            long cPtr = SWIGTYPE_p_void.getCPtr(pValue);



     
How to convert char to string at java using  SWIGTYPE_p_void pointer?




Thanks

Nithin



Loading...