Mercurial > hg > Members > kono > Cerium
view TaskManager/include/error.h @ 998:ad5232ad4952
add fb_test, minor fix
author | yutaka@localhost.localdomain |
---|---|
date | Fri, 15 Oct 2010 02:13:55 +0900 |
parents | 31d0a5baafdf |
children |
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