The SOM run-time environment uses SOM functions that perform memory management, DLL management, character output, and error handling. These functions are replaceable, which means that you can override them by supplying your own version of the default SOM functions. Replaceable SOM functions are summarized in the followig table:
┌────────────────────┬────────────────────────────────────────┐ │Category │Functions │ ├────────────────────┼────────────────────────────────────────┤ │Character Output │SOMOutCharRoutine │ ├────────────────────┼────────────────────────────────────────┤ │DLL Management │SOMClassInitFuncName │ ├────────────────────┼────────────────────────────────────────┤ │ │SOMDeleteModule │ ├────────────────────┼────────────────────────────────────────┤ │ │SOMLoadModule │ ├────────────────────┼────────────────────────────────────────┤ │Error Handling │SOMError │ ├────────────────────┼────────────────────────────────────────┤ │Memory Management │SOMCalloc │ ├────────────────────┼────────────────────────────────────────┤ │ │SOMFree │ ├────────────────────┼────────────────────────────────────────┤ │ │SOMMalloc │ ├────────────────────┼────────────────────────────────────────┤ │ │SOMRealloc │ └────────────────────┴────────────────────────────────────────┘