summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2020-03-07 18:58:58 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2020-03-07 19:06:10 +0900
commitada2f71c70bb11f1d71485e2090ce36872608217 (patch)
tree2ca0e155d5ba46be1cfa565ed4539a1724827b21 /include
parentf9f3510e64ca0f82f673f78a2279f654ba9fbe63 (diff)
rb_check_safe_obj no longer exists
Commit e91c39f1c0f7d5e670266d9593d533fd444957f6 deleted definition of it. Though I'm not sure if we can delete public API like this, it no longer works nontheless. Having declaration without definiton is worse than having nothing at all. Just delete the declartion too.
Diffstat (limited to 'include')
-rw-r--r--include/ruby/ruby.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h
index b6d1e542ba..b835bd69ad 100644
--- a/include/ruby/ruby.h
+++ b/include/ruby/ruby.h
@@ -603,7 +603,6 @@ char *rb_string_value_cstr(volatile VALUE*);
#define StringValuePtr(v) rb_string_value_ptr(&(v))
#define StringValueCStr(v) rb_string_value_cstr(&(v))
-void rb_check_safe_obj(VALUE);
#define SafeStringValue(v) StringValue(v)
#if GCC_VERSION_SINCE(4,4,0)
void rb_check_safe_str(VALUE) __attribute__((error("rb_check_safe_str() and Check_SafeStr() are obsolete; use StringValue() instead")));