Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/AnonR/smanonr..../opt/alt/ruby27/include/ruby
File: assert.h
#ifndef RUBY_ASSERT_H
[0] Fix | Delete
#define RUBY_ASSERT_H
[1] Fix | Delete
[2] Fix | Delete
#if defined(__cplusplus)
[3] Fix | Delete
extern "C" {
[4] Fix | Delete
#if 0
[5] Fix | Delete
} /* satisfy cc-mode */
[6] Fix | Delete
#endif
[7] Fix | Delete
#endif
[8] Fix | Delete
[9] Fix | Delete
NORETURN(void rb_assert_failure(const char *, int, const char *, const char *));
[10] Fix | Delete
#ifdef RUBY_FUNCTION_NAME_STRING
[11] Fix | Delete
# define RUBY_ASSERT_FAIL(expr) \
[12] Fix | Delete
rb_assert_failure(__FILE__, __LINE__, RUBY_FUNCTION_NAME_STRING, expr)
[13] Fix | Delete
#else
[14] Fix | Delete
# define RUBY_ASSERT_FAIL(expr) \
[15] Fix | Delete
rb_assert_failure(__FILE__, __LINE__, NULL, expr)
[16] Fix | Delete
#endif
[17] Fix | Delete
#define RUBY_ASSERT_MESG(expr, mesg) \
[18] Fix | Delete
((expr) ? (void)0 : RUBY_ASSERT_FAIL(mesg))
[19] Fix | Delete
#ifdef HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P
[20] Fix | Delete
# define RUBY_ASSERT_MESG_WHEN(cond, expr, mesg) \
[21] Fix | Delete
((RUBY_DEBUG+0) ? RUBY_ASSERT_MESG((expr), mesg) : \
[22] Fix | Delete
__builtin_choose_expr( \
[23] Fix | Delete
__builtin_constant_p(cond), \
[24] Fix | Delete
__builtin_choose_expr(cond, RUBY_ASSERT_MESG(expr, mesg), (void)0), \
[25] Fix | Delete
RUBY_ASSERT_MESG(!(cond) || (expr), mesg)))
[26] Fix | Delete
#else
[27] Fix | Delete
# define RUBY_ASSERT_MESG_WHEN(cond, expr, mesg) \
[28] Fix | Delete
RUBY_ASSERT_MESG(!((RUBY_DEBUG+0) || (cond)) || (expr), mesg)
[29] Fix | Delete
#endif
[30] Fix | Delete
#define RUBY_ASSERT(expr) RUBY_ASSERT_MESG_WHEN((!RUBY_NDEBUG+0), expr, #expr)
[31] Fix | Delete
#define RUBY_ASSERT_WHEN(cond, expr) RUBY_ASSERT_MESG_WHEN(cond, expr, #expr)
[32] Fix | Delete
#define RUBY_ASSERT_ALWAYS(expr) RUBY_ASSERT_MESG_WHEN(TRUE, expr, #expr)
[33] Fix | Delete
[34] Fix | Delete
#ifndef RUBY_DEBUG
[35] Fix | Delete
# define RUBY_DEBUG 0
[36] Fix | Delete
#endif
[37] Fix | Delete
#ifndef RUBY_NDEBUG
[38] Fix | Delete
# ifdef NDEBUG
[39] Fix | Delete
# define RUBY_NDEBUG 1
[40] Fix | Delete
# else
[41] Fix | Delete
# define RUBY_NDEBUG 0
[42] Fix | Delete
# endif
[43] Fix | Delete
#endif
[44] Fix | Delete
[45] Fix | Delete
#if defined(__cplusplus)
[46] Fix | Delete
#if 0
[47] Fix | Delete
{ /* satisfy cc-mode */
[48] Fix | Delete
#endif
[49] Fix | Delete
} /* extern "C" { */
[50] Fix | Delete
#endif
[51] Fix | Delete
[52] Fix | Delete
#endif
[53] Fix | Delete
[54] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function