/
antim
/
LuaPlayer-by-YuliaTeam
Обзор
Документация
Войти
/
antim
/
LuaPlayer-by-YuliaTeam
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
include/libc/assert.h
34 строки
883 B
antim0118
Автобилд
02 янв 2026, 18:26
02 янв 2026, 18:26
ba638af
Код
Авторство
О чём код?
/* * PSP Software Development Kit - http://www.pspdev.org * ----------------------------------------------------------------------- * Licensed under the BSD license, see LICENSE in PSPSDK root for details. * * assert.h * * Copyright (c) 2002-2004 PS2DEV * Copyright (c) 2005 Marcus R. Brown <mrbrown@ocgnet.org> * Copyright (c) 2005 James Forshaw <tyranid@gmail.com> * Copyright (c) 2005 John Kelley <ps2dev@kelley.ca> * * $Id: assert.h 1095 2005-09-27 21:02:16Z jim $ */ #ifndef __ASSERT_H__ #define __ASSERT_H__ #include <pspkernel.h> #include <stdio.h> #ifdef NDEBUG #define assert(cond) #else #ifdef __cplusplus extern "C" { #endif int __assert_fail (const char *assertion, const char *file, unsigned int line) __attribute__((noreturn)); #ifdef __cplusplus } #endif #define assert(cond) (void)((cond)?0:__assert_fail(#cond, __FILE__, __LINE__)) #endif #endif