Bull DPX/20 Guida Utente Pagina 71

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 424
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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 */
Vedere la pagina 70
1 2 ... 66 67 68 69 70 71 72 73 74 75 76 ... 423 424

Commenti su questo manuale

Nessun commento