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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 424
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 70
SOM Kernel Reference 1-59
SOM_NoTrace Macro
Purpose
Used to turn off method debugging.
Syntax
SOM_NoTrace (<token> className, <token> methodName);
Description
The SOM_NoTrace macro is used to turn off method debugging. Within an implementation
file for a class, before #including the implementation (.ih or .xih) header file for the class,
#define the <className>MethodDebug macro to be SOM_NoTrace. Then,
<className>MethodDebug will have no effect.
Parameters
className The name of the class for which tracing will be turned off, given as a simple
token rather than a quoted string.
methodName The name of the method for which tracing will be turned off, given as a
simple token rather than a quoted string.
Expansion
The SOM_NoTrace macro has a null (empty) expansion.
Example
Within an implementation file:
#define AnimalMethodDebug(c,m) SOM_NoTrace(c,m)
#include <animal.ih>
/* Now AnimalMethodDebug does nothing */
Przeglądanie stron 70
1 2 ... 66 67 68 69 70 71 72 73 74 75 76 ... 423 424

Komentarze do niniejszej Instrukcji

Brak uwag