Server IP : 66.29.132.122 / Your IP : 3.147.72.52 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/self/root/proc/thread-self/root/proc/thread-self/root/proc/self/root/proc/thread-self/root/proc/self/root/proc/self/root/opt/cpanel/ea-ruby27/root/usr/include/ruby/ |
Upload File : |
#ifndef RUBY_ASSERT_H #define RUBY_ASSERT_H #if defined(__cplusplus) extern "C" { #if 0 } /* satisfy cc-mode */ #endif #endif NORETURN(void rb_assert_failure(const char *, int, const char *, const char *)); #ifdef RUBY_FUNCTION_NAME_STRING # define RUBY_ASSERT_FAIL(expr) \ rb_assert_failure(__FILE__, __LINE__, RUBY_FUNCTION_NAME_STRING, expr) #else # define RUBY_ASSERT_FAIL(expr) \ rb_assert_failure(__FILE__, __LINE__, NULL, expr) #endif #define RUBY_ASSERT_MESG(expr, mesg) \ ((expr) ? (void)0 : RUBY_ASSERT_FAIL(mesg)) #ifdef HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P # define RUBY_ASSERT_MESG_WHEN(cond, expr, mesg) \ ((RUBY_DEBUG+0) ? RUBY_ASSERT_MESG((expr), mesg) : \ __builtin_choose_expr( \ __builtin_constant_p(cond), \ __builtin_choose_expr(cond, RUBY_ASSERT_MESG(expr, mesg), (void)0), \ RUBY_ASSERT_MESG(!(cond) || (expr), mesg))) #else # define RUBY_ASSERT_MESG_WHEN(cond, expr, mesg) \ RUBY_ASSERT_MESG(!((RUBY_DEBUG+0) || (cond)) || (expr), mesg) #endif #define RUBY_ASSERT(expr) RUBY_ASSERT_MESG_WHEN((!RUBY_NDEBUG+0), expr, #expr) #define RUBY_ASSERT_WHEN(cond, expr) RUBY_ASSERT_MESG_WHEN(cond, expr, #expr) #define RUBY_ASSERT_ALWAYS(expr) RUBY_ASSERT_MESG_WHEN(TRUE, expr, #expr) #ifndef RUBY_DEBUG # define RUBY_DEBUG 0 #endif #ifndef RUBY_NDEBUG # ifdef NDEBUG # define RUBY_NDEBUG 1 # else # define RUBY_NDEBUG 0 # endif #endif #if defined(__cplusplus) #if 0 { /* satisfy cc-mode */ #endif } /* extern "C" { */ #endif #endif