mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
843 B
32 lines
843 B
//+---------------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
// Copyright (C) Microsoft Corporation, 1992 - 1994.
|
|
//
|
|
// File: nest.hxx
|
|
//
|
|
// Contents: Nested Log Helping macros & function
|
|
//
|
|
// History: 17-Jul-94 BobDay Split off from THOPUTIL.HXX due
|
|
// to header ordering problems.
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
#ifndef __NEST_HXX__
|
|
#define __NEST_HXX__
|
|
|
|
#if DBG == 1
|
|
|
|
extern int _iThunkNestingLevel;
|
|
|
|
char *NestingLevelString(void);
|
|
#define DebugIncrementNestingLevel() (_iThunkNestingLevel++)
|
|
#define DebugDecrementNestingLevel() (_iThunkNestingLevel--)
|
|
|
|
#else
|
|
|
|
#define DebugIncrementNestingLevel()
|
|
#define DebugDecrementNestingLevel()
|
|
|
|
#endif
|
|
|
|
#endif // #ifndef __NEST_HXX__
|