Jump to content

SOM DestroyLocalEnvironment

From EDM2
Revision as of 19:03, 10 October 2017 by Martini (talk | contribs) (Created page with "This macro destroys a local Environment structure. ==Syntax== <PRE> Environment *env; SOM_DestroyLocalEnvironment(env); </PRE> ==Parameters== ; env (Environment *) : A p...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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