/
dzavalishin
/
newos
Обзор
Документация
Войти
/
dzavalishin
/
newos
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
include/assert.h
32 строки
506 B
Travis Geiselbrecht
Move all of the files in include/libc/... down to the top level include path.
05 сен 2004, 06:20
05 сен 2004, 06:20
aa87801
Код
Авторство
О чём код?
/* ** Copyright 2002, Travis Geiselbrecht. All rights reserved. ** Copyright 2002, Manuel J. Petit. All rights reserved. ** Distributed under the terms of the NewOS License. */ #ifndef __newos__libc_assert__hh__ #define __newos__libc_assert__hh__ #ifdef __cplusplus extern "C" { #endif void _assert(char const *, int, char const *); #ifdef NDEBUG # define assert(x) #else # define assert(x) ( (x) ? (void)0 : _assert(__FILE__, __LINE__, #x) ) #endif #ifdef __cplusplus } /* "C" */ #endif #endif