Jump to content

SOM_DestroyLocalEnvironment

From EDM2

This macro destroys a local Environment structure.

Syntax

Environment     *env;
SOM_DestroyLocalEnvironment(env);

Parameters

env (Environment *)
A pointer to the Environment structure to be discarded.

Return Code

N/A

Remarks

The SOM_DestroyLocalEnvironment macro destroys a local Environment structure, such as one created using the SOM_CreateLocalEnvironment macro.

Example Code

Environment *ev;
ev = SOM_CreateLocalEnvironment();
_myMethod(obj, ev);
...
SOM_DestroyLocalEnvironment(ev);

Related

Macros
  • SOM_CreateLocalEnvironment
  • SOM_UninitEnvironment
Functions
  • somExceptionFree