Bull DPX/20 User's Guide Page 65

  • Download
  • Add to my manuals
  • Print
  • Page
    / 424
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 64
SOM Kernel Reference 1-53
SOM_DestroyLocalEnvironment Macro
Purpose
Destroys a local Environment structure.
Syntax
void SOM_DestroyLocalEnvironment (Environment * ev);
Description
The SOM_DestroyLocalEnvironment macro destroys a local Environment structure,
such as one created using the SOM_CreateLocalEnvironment macro.
Parameters
ev A pointer to the Environment structure to be discarded.
Expansion
The SOM_DestroyLocalEnvironment function first invokes the somExceptionFree
function on the Environment structure; then it invokes SOMFree on it to free the memory it
occupies.
Example
Environment *ev;
ev = SOM_CreateLocalEnvironment();
_myMethod(obj, ev);
....
SOM_DestroyLocalEnvironment(ev);
Related Information
Macros: SOM_CreateLocalEnvironment, SOM_UninitEnvironment
Functions: somExceptionFree
Page view 64
1 2 ... 60 61 62 63 64 65 66 67 68 69 70 ... 423 424

Comments to this Manuals

No comments