iNTERFACEWARE Products Manual > Installing and Using Chameleon > Unix Support > Validating a Platform/Compiler > Shared Library |
|
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
The 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:
|