Bull DPX/20 Uživatelská příručka Strana 64

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 424
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 63
1-52 SOMobjects Base Toolkit: Programmers Reference Manual
SOM_CreateLocalEnvironment Macro
Purpose
Creates and initializes a local Environment structure.
Syntax
Environment * SOM_CreateLocalEnvironment ( );
Description
The SOM_CreateLocalEnvironment macro creates a local Environment structure. This
Environment structure can be passed to methods as the Environment argument so that
exception information can be returned without affecting the global environment.
Expansion
The SOM_CreateLocalEnvironment expands to an expression of type (Environment *).
C Example
Environment *ev;
ev = SOM_CreateLocalEnvironment();
_myMethod(obj, ev);
...
SOM_DestroyLocalEnvironment(ev);
Related Information
Macros: SOM_DestroyLocalEnvironment, SOM_InitEnvironment,
SOM_UninitEnvironment
Data Structures: Environment (somcorba.h)
Functions: somGetGlobalEnvironment
Zobrazit stránku 63
1 2 ... 59 60 61 62 63 64 65 66 67 68 69 ... 423 424

Komentáře k této Příručce

Žádné komentáře