summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iseq.c b/iseq.c
index 6d5731de8d..ac9f572ca4 100644
--- a/iseq.c
+++ b/iseq.c
@@ -157,7 +157,7 @@ static VALUE
iseq_alloc(VALUE klass)
{
rb_iseq_t *iseq;
- return Data_Make_TypedStruct(klass, rb_iseq_t, &iseq_data_type, iseq);
+ return TypedData_Make_Struct(klass, rb_iseq_t, &iseq_data_type, iseq);
}
static void