ILE C/C++ Programmer's Guide

Displaying Exported Defined Symbols with the Display Module Command

To find out which exports are available from a module, enter:

DSPMOD MODULE(library-name/module-name)

Specify the module name and the library where the module is stored.

This command opens the Display Module Information display. At the bottom of this display, you find the name and type of each symbol that can be exported from the module.

Note:
When the compiler compiles a source file, it encodes function names and certain variables to include type and scoping information. This encoding process is called name mangling. The symbol names in the sample display below are shown in mangled form. The source code for module SEARCH is shown in Source Code Files.

Figure 10. Display Module Information Screen for a Sample Module SEARCH


+--------------------------------------------------------------------------------+
|                                                                                |
|                           Display Module Information        Display 3 of 3     |
| Module . . . . . . . . . . . . :   SEARCH                                      |
|   Library  . . . . . . . . . . :     MYLIB                                     |
| Detail . . . . . . . . . . . . :   *EXPORT                                     |
| Module attribute . . . . . . . :                                               |
|                           Exported defined symbols:                            |
| Symbol Name                                      Symbol Type                   |
| __ct__6SearchFPc                                 PROCEDURE                     |
| __ct__6SearchFPUc                                PROCEDURE                     |
| __ct__6SearchFPUci                               PROCEDURE                     |
|                                                                                |
+--------------------------------------------------------------------------------+


[ Top of Page | Previous Page | Next Page | Table of Contents ]