From 556a1352e4d1f44f900c83027f1e888b0ae7cdb1 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 21 Feb 2017 05:17:41 +0000 Subject: 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 --- struct.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'struct.c') 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 -- cgit v1.2.3