Mercurial > hg > Game > Cerium
view TaskManager/include/error.h @ 868:08ed5e750d78 draft
[aquarium]: update screen scope on linda with protobuf
author | kazz <kazz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 22 Jun 2010 16:10:28 +0900 |
parents | 1b225972ae88 |
children | df397764c51e |
line wrap: on
line source
#ifndef CERIUM_ERR #define CERIUM_ERR #ifdef DEBUG # include <stdio.h> # define __debugs(s, ...) do { \ s->printf(__VA_ARGS__); \ } while (0) #else /* DEBUG */ # define __debug(...) #endif #ifdef DEBUG # include <stdio.h> # define __debugs_ppe(s, ...) do { \ s->printf("[PPE] ", __VA_ARGS__); \ } while (0) #else /* DEBUG */ # define __debug_ppe(...) #endif #ifdef DEBUG # include <stdio.h> # define __debugs_spe(s, ...) do { \ s->printf("[SPE] ", __VA_ARGS__); \ } while (0) #else /* DEBUG */ # define __debug_spe(...) #endif #endif