From 46e23dc03df77f6c3d4310233d2cf60902b98751 Mon Sep 17 00:00:00 2001 From: akr Date: Thu, 21 Jun 2012 09:39:10 +0000 Subject: * process.c (rb_execarg_init): take a VALUE argument instead of struct rb_execarg. (rb_execarg_new): follow the rb_execarg_init change. (rb_exec_arg_init): ditto. * internal.h (rb_execarg_init): follow the definition change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal.h') diff --git a/internal.h b/internal.h index 0d1e3aa874..1daeb6c0ca 100644 --- a/internal.h +++ b/internal.h @@ -290,7 +290,7 @@ int rb_exec_async_signal_safe(const struct rb_execarg *e, char *errmsg, size_t e rb_pid_t rb_fork_async_signal_safe(int *status, int (*chfunc)(void*, char *, size_t), void *charg, VALUE fds, char *errmsg, size_t errmsg_buflen); VALUE rb_execarg_new(int argc, VALUE *argv, int accept_shell); struct rb_execarg *rb_execarg_get(VALUE execarg_obj); /* dangerous. needs GC guard. */ -VALUE rb_execarg_init(int argc, VALUE *argv, int accept_shell, struct rb_execarg *e); +VALUE rb_execarg_init(int argc, VALUE *argv, int accept_shell, VALUE execarg_obj); int rb_execarg_addopt(struct rb_execarg *e, VALUE key, VALUE val); void rb_execarg_fixup(VALUE execarg_obj); int rb_execarg_run_options(const struct rb_execarg *e, struct rb_execarg *s, char* errmsg, size_t errmsg_buflen); -- cgit v1.2.3