IMPORT CODE ,TRIANGLE, getarea__8triangleFv
IMPORT CODE ,TRIANGLE, getperim__8triangleFv
IMPORT CODE ,TRIANGLE, __ct__8triangleFv
You can edit
the definition side-deck to
remove any functions and variables that you do not want to export.
In the above example, if you do not want to expose getperim(),
remove the control statement IMPORT CODE ,TRIANGLE, getperim__8triangleFv from
the definition side-deck. The definition side-deck contains mangled names, such as getarea__8triangleFv. To find the original function or variable name in your source module, review the compiler listing created or use the CXXFILT utility. This will permit you to see both the mangled and demangled names. For more information on the CXXFILT utility, and on binding C++, see z/OS XL C/C++ User's Guide.