Jump to content

SOM DestroyLocalEnvironment: Difference between revisions

From EDM2
Created page with "This macro destroys a local Environment structure. ==Syntax== <PRE> Environment *env; SOM_DestroyLocalEnvironment(env); </PRE> ==Parameters== ; env (Environment *) : A p..."
 
Ak120 (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
This macro destroys a local Environment structure.  
{{DISPLAYTITLE:SOM_DestroyLocalEnvironment}}
This macro destroys a local Environment structure.
 
==Syntax==
==Syntax==
<PRE>
Environment    *env;
Environment    *env;
SOM_DestroyLocalEnvironment(env);
SOM_DestroyLocalEnvironment(env);
</PRE>


==Parameters==
==Parameters==
; env (Environment *) : A pointer to the Environment structure to be discarded.  
;env (Environment *): A pointer to the Environment structure to be discarded.


==Return Code==
==Return Code==
Line 13: Line 13:


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


==Example Code==
==Example Code==
Line 25: Line 25:


==Related==
==Related==
===Macros===
;Macros
* SOM_CreateLocalEnvironment  
* SOM_CreateLocalEnvironment
* SOM_UninitEnvironment  
* SOM_UninitEnvironment
===Functions===
;Functions
* somExceptionFree  
* somExceptionFree


[[Category:SOM Kernel]]
[[Category:SOM macro]]

Latest revision as of 02:08, 6 May 2020

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