aboutsummaryrefslogtreecommitdiffstats
path: root/include/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby')
-rw-r--r--include/ruby/ruby.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h
index 72e91c2f7b..26fbd12e88 100644
--- a/include/ruby/ruby.h
+++ b/include/ruby/ruby.h
@@ -1181,7 +1181,7 @@ void *rb_check_typeddata(VALUE, const rb_data_type_t *);
((sval) = (type*)rb_check_typeddata((obj), (data_type)))
#define RSTRUCT_LEN(st) rb_struct_size(st)
-#define RSTRUCT_PTR(st) rb_struct_const_ptr(st)
+#define RSTRUCT_PTR(st) rb_struct_ptr(st)
#define RSTRUCT_SET(st, idx, v) rb_struct_aset(st, INT2NUM(idx), (v))
#define RSTRUCT_GET(st, idx) rb_struct_aref(st, INT2NUM(idx))