Counter Strike : Global Offensive Source Code
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.
|
|
//========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose: Allows matching of initialization and shutdown function calls
//
// $NoKeywords: $
//=============================================================================//
#if !defined( TRACEINIT_H )
#define TRACEINIT_H
#ifdef _WIN32
#pragma once
#endif
void TraceInit( const char *i, const char *s, int list ); void TraceShutdown( const char *s, int list );
#define TRACEINITNUM( initfunc, shutdownfunc, num ) \
TraceInit( #initfunc, #shutdownfunc, num ); \ initfunc;
#define TRACESHUTDOWNNUM( shutdownfunc, num ) \
TraceShutdown( #shutdownfunc, num ); \ shutdownfunc;
#define TRACEINIT( initfunc, shutdownfunc ) TRACEINITNUM( initfunc, shutdownfunc, 0 )
#define TRACESHUTDOWN( shutdownfunc ) TRACESHUTDOWNNUM( shutdownfunc, 0 )
#endif // TRACEINIT_H
|