aboutsummaryrefslogtreecommitdiffstats
path: root/array.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-01-22 08:33:55 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-01-22 08:33:55 +0000
commit4c3697bd51c2ba45b84dd8046c32b1bde26fdcb0 (patch)
treea471f6b0e76c590f04579e62d1834c915b9eb322 /array.c
parent332c24dbe9cbf9cfbe20b39027268dfc53a29c0a (diff)
downloadruby-4c3697bd51c2ba45b84dd8046c32b1bde26fdcb0.tar.gz
RUBY_ASSERT
* error.c (rb_assert_failure): assertion with stack dump. * ruby_assert.h (RUBY_ASSERT): new header for the assertion. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'array.c')
-rw-r--r--array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/array.c b/array.c
index e31f67467f..050e3a39ce 100644
--- a/array.c
+++ b/array.c
@@ -20,7 +20,7 @@
#ifndef ARRAY_DEBUG
# define NDEBUG
#endif
-#include <assert.h>
+#include "ruby_assert.h"
VALUE rb_cArray;