From 3b3cc0786b0814eaa792cec65cedd54e1e43e9bd Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Mon, 25 May 2009 14:56:22 +0900 Subject: [PATCH] Pass the correct pointer to the array. --- src/plpl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plpl.c b/src/plpl.c index ab86975..8105c75 100644 --- a/src/plpl.c +++ b/src/plpl.c @@ -1412,7 +1412,8 @@ plruby_return_value(struct pl_thread_st *plth, pl_proc_desc *prodesc, pl_tuple_put, tuple); } else { - res = rb_block_call(pl_mPLtemp, args->id, 1, RARRAY_PTR(args->ary), + res = rb_block_call(pl_mPLtemp, args->id, + 1, &args->ary, pl_tuple_put, tuple); } }