including package name in jni wrapper

R

Rob

Hi

I have a c library that I am creating jni wrappers for. The wrappers
work fine in the default package but I would like to include the functions
in a named package to avoid any possible conflicts for users that may
have functions with the same names.

What is the syntax for including the package name in the wrapper fcn name?

Is it something like

Java_com_mycompany_pack1_ClassName_aaFunctionName_1java

where com.mycompany.pack1 is the package name?

Rob
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top