SOM DestroyLocalEnvironment: Difference between revisions
Appearance
Created page with "This macro destroys a local Environment structure. ==Syntax== <PRE> Environment *env; SOM_DestroyLocalEnvironment(env); </PRE> ==Parameters== ; env (Environment *) : A p..." |
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== | ||
Environment *env; | |||
Environment *env; | SOM_DestroyLocalEnvironment(env); | ||
SOM_DestroyLocalEnvironment(env); | |||
==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 | |||
* SOM_CreateLocalEnvironment | * SOM_CreateLocalEnvironment | ||
* SOM_UninitEnvironment | * SOM_UninitEnvironment | ||
;Functions | |||
* somExceptionFree | * somExceptionFree | ||
[[Category:SOM | [[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