summaryrefslogtreecommitdiff
path: root/doc/extension.rdoc
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2019-10-04 08:44:33 -0700
committerJeremy Evans <code@jeremyevans.net>2019-11-18 01:00:25 +0200
commit3a0de05beeb997ec77d35755d9d303e1ca858cb7 (patch)
treeba9ed22e11dff9e6c25e5a97db3b2f2e8b570064 /doc/extension.rdoc
parentc257303ae78d0e307a80dbe5ccd405abc6e8d44d (diff)
Remove mention of $SAFE and taint from doc [ci skip]
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/2476
Diffstat (limited to 'doc/extension.rdoc')
-rw-r--r--doc/extension.rdoc14
1 files changed, 0 insertions, 14 deletions
diff --git a/doc/extension.rdoc b/doc/extension.rdoc
index ea0a3d15f7..79d25e4249 100644
--- a/doc/extension.rdoc
+++ b/doc/extension.rdoc
@@ -190,16 +190,6 @@ rb_str_new_literal(const char *ptr) ::
Creates a new Ruby string from a C string literal.
-rb_tainted_str_new(const char *ptr, long len) ::
-
- Creates a new tainted Ruby string. Strings from external data
- sources should be tainted.
-
-rb_tainted_str_new2(const char *ptr) ::
-rb_tainted_str_new_cstr(const char *ptr) ::
-
- Creates a new tainted Ruby string from a C string.
-
rb_sprintf(const char *format, ...) ::
rb_vsprintf(const char *format, va_list ap) ::
@@ -1210,10 +1200,6 @@ void Check_Type(VALUE value, int type) ::
Ensures +value+ is of the given internal +type+ or raises a TypeError
-SafeStringValue(value) ::
-
- Checks that +value+ is a String and is not tainted
-
=== Data Type Conversion
FIX2INT(value), INT2FIX(i) ::