Re: How can i make an excisting c-file native? very urgent
Wednesday, December 3, 2003 05:20 PM
I dont think there is any automatic way to convert functions in a c file to jni. I would suggest u to simply write a java wrapper. Declare native functions in the java class that correspond to ur c fcuntions.
Use javah to generate corresponding wrappers in c.
I dont see any way other than this,.