Cirrus Logic CS485 Dokumentacja Strona 40

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 319
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 39
Intel
®
Image Processing Library Reference Manual
3-4
3
GetErrMode
SetErrMode
Gets and sets the error
modes that describe how an
error is processed.
#define IPL_ErrModeLeaf 0
#define IPL_ErrModeParent 1
#define IPL_ErrModeSilent 2
int iplGetErrMode();
void iplSetErrMode(int
errMode
);
errMode
Indicates how errors will be processed. The
possible values for
errMode
are
IPL_ErrModeLeaf, IPL_ErrModeParent,or
IPL_ErrModeSilent.
Discussion
NOTE. This section describes how the default error handler handles
errors for applications which run in console mode. If your application has
a custom error handler, errors will be processed differently than described
below
The iplSetErrMode() function sets the error modes that describe how
errors are processed. The defined error modes are
IPL_ErrModeLeaf,
IPL_ErrModeParent,andIPL_ErrModeSilent.
If you specify
IPL_ErrModeLeaf, errors are processed in the “leaves” of
the function call tree. The
iplError() function (in console mode) prints
an error message describing
status
,
func
,and
context
. It then
terminates the program.
Przeglądanie stron 39
1 2 ... 35 36 37 38 39 40 41 42 43 44 45 ... 318 319

Komentarze do niniejszej Instrukcji

Brak uwag