Bull DPX/20 Guia do Utilizador Página 65

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 424
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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
Vista de página 64
1 2 ... 60 61 62 63 64 65 66 67 68 69 70 ... 423 424

Comentários a estes Manuais

Sem comentários