Bull DPX/20 Podręcznik Użytkownika Strona 65

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 424
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 64
1 2 ... 60 61 62 63 64 65 66 67 68 69 70 ... 423 424

Komentarze do niniejszej Instrukcji

Brak uwag