/
githubmirror
/
rpm
Обзор
Документация
Войти
/
githubmirror
/
rpm
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
misc/debug.h
18 строк
391 B
Panu Matilainen
Move top-level headers to misc/ and include that everywhere
13 сен 2023, 13:34
13 сен 2023, 13:34
d4eb1f2
Код
Авторство
О чём код?
/** * To be included after all other includes. */ #ifndef H_DEBUG #define H_DEBUG #include <assert.h> #define RPMDBG_TOSTR(a) RPMDBG_TOSTR_ARG(a) #define RPMDBG_TOSTR_ARG(a) #a #define RPMDBG() "at: " __FILE__ ":" RPMDBG_TOSTR (__LINE__) #define RPMDBG_M_DEBUG(msg) msg " " RPMDBG() #define RPMDBG_M_NODEBUG(msg) NULL #define RPMDBG_M(msg) RPMDBG_M_DEBUG(msg) #endif /* H_DEBUG */