summaryrefslogtreecommitdiff
path: root/struct.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-21 05:17:41 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-21 05:17:41 +0000
commit556a1352e4d1f44f900c83027f1e888b0ae7cdb1 (patch)
tree7da8cff205ed6ad16c8cf188b190aedcb12fe33c /struct.c
parentbd26c796a100f5bab429a0891d367e5bc4a793e7 (diff)
backward.h: 2.2 deprecated features
* include/ruby/backward.h (DECLARE_DEPRECATED_FEATURE): move features deprecated at 2.2. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'struct.c')
-rw-r--r--struct.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/struct.c b/struct.c
index 6303436122..77b81b45ac 100644
--- a/struct.c
+++ b/struct.c
@@ -1126,12 +1126,6 @@ rb_struct_size(VALUE s)
return LONG2FIX(RSTRUCT_LEN(s));
}
-const VALUE*
-rb_struct_ptr(VALUE s)
-{
- return RSTRUCT_CONST_PTR(s);
-}
-
/*
* call-seq:
* struct.dig(key, ...) -> object