We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75326e2 commit ffbdb30Copy full SHA for ffbdb30
ext/debug/debug.c
@@ -8,13 +8,13 @@ static VALUE rb_mDebugger;
8
9
// iseq
10
typedef struct rb_iseq_struct rb_iseq_t;
11
+const rb_iseq_t *rb_iseqw_to_iseq(VALUE iseqw);
12
VALUE rb_iseq_realpath(const rb_iseq_t *iseq);
13
14
static VALUE
15
iseq_realpath(VALUE iseqw)
16
{
- rb_iseq_t *iseq = DATA_PTR(iseqw);
17
- return rb_iseq_realpath(iseq);
+ return rb_iseq_realpath(rb_iseqw_to_iseq(iseqw));
18
}
19
20
static VALUE rb_cFrameInfo;
0 commit comments