diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-09-21 17:28:47 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-09-21 17:28:47 +0900 |
| commit | 3995e7ff8f970ec9f2fb60fba2338108f6f07e05 (patch) | |
| tree | e21fff7fd5302031ce5e0e595f1dc538a6364610 /mrbgems/mruby-proc-ext/src | |
| parent | fdb58b4734144a97ea43342cd32ce583c60f11b7 (diff) | |
| download | mruby-3995e7ff8f970ec9f2fb60fba2338108f6f07e05.tar.gz mruby-3995e7ff8f970ec9f2fb60fba2338108f6f07e05.zip | |
rename voidp to cptr
Diffstat (limited to 'mrbgems/mruby-proc-ext/src')
| -rw-r--r-- | mrbgems/mruby-proc-ext/src/proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-proc-ext/src/proc.c b/mrbgems/mruby-proc-ext/src/proc.c index 22e695e99..87d96a865 100644 --- a/mrbgems/mruby-proc-ext/src/proc.c +++ b/mrbgems/mruby-proc-ext/src/proc.c @@ -35,7 +35,7 @@ mrb_proc_inspect(mrb_state *mrb, mrb_value self) { struct RProc *p = mrb_proc_ptr(self); mrb_value str = mrb_str_new_cstr(mrb, "#<Proc:"); - mrb_str_concat(mrb, str, mrb_ptr_to_str(mrb, mrb_voidp(self))); + mrb_str_concat(mrb, str, mrb_ptr_to_str(mrb, mrb_cptr(self))); if (!MRB_PROC_CFUNC_P(p)) { mrb_irep *irep = p->body.irep; |
