Mercurial > hg > Game > CbCTaskManager
view Debug.h @ 5:91a07e20e06d
commit.
author | kent <kent@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 25 Dec 2009 17:53:11 +0900 |
parents | |
children |
line wrap: on
line source
#ifndef _DEBUG_H #define _DEBUG_H #ifdef DEBUG #include <stdio.h> #define __DEBUG(f, args...) \ fprintf(stderr, "in %s: "f, __FUNCTION__, ## args) #define __DEBUGnoF(f, args...) \ fprintf(stderr, f, ## args) #else #define __DEBUG(f, args...) #endif #endif /* !_DEBUG_H */