|
Shared LibraryThe shared library is just a trivial implementation of the native method 'WorldOfC'. The function simply returns zero. Within the function a C++ exception is thrown and caught. The library consists of a header file Test.h and implementation file called Test.cpp This is the header file (as generated by the javah tool):
The Test.cpp file contains the actual implementation of the function:
|