Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CAT/CATDebug.h File Reference

CATDebug.h File Reference


Detailed Description

Debugging utility functions.

Copyright (c) 2003-2007 by Michael Ellison. See COPYING.txt for the Game Accessibility Suite [GAS] License (MIT License).

Definition in file CATDebug.h.

#include "CATTypes.h"

Go to the source code of this file.

Defines

#define __CATEXPSTRING__(x)   #x
#define __CATSTRINGCONV__(x)   __CATEXPSTRING__(x)
#define __CATLOCINFO__   __FILE__ "("__CATSTRINGCONV__(__LINE__)") : "
#define CATREMINDER(x)   message (__CATLOCINFO__ x)
#define CATASSERT(exp, msg)   (void)( (exp) || (_CATAssert(#exp, __FILE__, __LINE__, msg), 0) )
#define CATTRACE(msg)   _CATTrace(msg,__FILE__,__LINE__)

Functions

void _CATAssert (const char *expression, const char *file, CATUInt32 lineNumber, const char *msg)
void _CATTrace (const char *msg, const char *file, CATUInt32 line)


Generated on Mon Feb 11 04:10:00 2008 for Game Accessibility Suite by doxygen 1.5.4