how to passing java objects directly to the native

7 views
Skip to first unread message

Mark Hong

unread,
Aug 19, 2021, 9:37:02 PM8/19/21
to Java Native Access
I konw there is an opton OPTION_ALLOW_OBJECTS, but what's the mapping of Obect to c++ native type ? I don't know how to write the c++ function prototype. 
In Java, I use this :
int TestFunc(Object o);

how to write the Corresponding c++ function?

thanks!

Reply all
Reply to author
Forward
0 new messages