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

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

Komentarze do niniejszej Instrukcji

Brak uwag