summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-proc-ext/src/proc.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-11-23 10:03:44 +0900
committerGitHub <[email protected]>2021-11-23 10:03:44 +0900
commit4a84fa5db556e33ba40e3af09f15103ad22c8156 (patch)
tree99833d05fc9f4c5281a5f58eb24898e3be066f76 /mrbgems/mruby-proc-ext/src/proc.c
parent01cadd3e706c1713a7b77e2e214df2d1695f875f (diff)
parentb02bd63dc5cd4918230fed3344bc71e2e5540087 (diff)
downloadmruby-4a84fa5db556e33ba40e3af09f15103ad22c8156.tar.gz
mruby-4a84fa5db556e33ba40e3af09f15103ad22c8156.zip
Merge pull request #5580 from dearblue/static-proc
Fixed occurs `SIGSEGV` with `mrbgems/mruby-method`
Diffstat (limited to 'mrbgems/mruby-proc-ext/src/proc.c')
-rw-r--r--mrbgems/mruby-proc-ext/src/proc.c2
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 9d8a7b037..ac89db193 100644
--- a/mrbgems/mruby-proc-ext/src/proc.c
+++ b/mrbgems/mruby-proc-ext/src/proc.c
@@ -92,7 +92,7 @@ mrb_kernel_proc(mrb_state *mrb, mrb_value self)
* prc.parameters #=> [[:req, :x], [:opt, :y], [:rest, :other]]
*/
-static mrb_value
+mrb_value
mrb_proc_parameters(mrb_state *mrb, mrb_value self)
{
struct parameters_type {