Mercurial > hg > Game > Cerium
view TaskManager/include/error.h @ 2022:fac44ad2867d draft
make a sound
author | Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 16 Jul 2014 02:50:32 +0900 |
parents | bd5152f8fe3a |
children |
line wrap: on
line source
#ifndef CERIUM_ERR #define CERIUM_ERR #ifdef DEBUG # include <stdio.h> # define __debug(s, ...) do { \ s->printf(__VA_ARGS__); \ } while (0) #else /* DEBUG */ # define __debug(...) #endif #ifdef DEBUG # include <stdio.h> # define __debug_ppe(s, ...) do { \ s->printf("[PPE] ", __VA_ARGS__); \ } while (0) #else /* DEBUG */ # define __debug_ppe(...) #endif #ifdef DEBUG # include <stdio.h> # define __debug_spe(s, ...) do { \ s->printf("[SPE] ", __VA_ARGS__); \ } while (0) #else /* DEBUG */ # define __debug_spe(...) #endif #endif