diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-03 08:57:15 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-03 08:57:15 +0000 |
commit | 323ddfc168e00ab17738a08f9a91c8b02dd8e6c3 (patch) | |
tree | 6f579a4b0fa1e54e2a82539e1f40116cc1a14dce /process.c | |
parent | 4d1e32eac67cf5febd20461987259519089e1890 (diff) | |
download | ruby-323ddfc168e00ab17738a08f9a91c8b02dd8e6c3.tar.gz |
process.c (rb_f_system): cleanup to use rb_execarg_get
TypedData_* macros hide assignments and are confusing and too
long for users of giant fonts.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4445,7 +4445,7 @@ rb_f_system(int argc, VALUE *argv) int exec_errnum; execarg_obj = rb_execarg_new(argc, argv, TRUE, TRUE); - TypedData_Get_Struct(execarg_obj, struct rb_execarg, &exec_arg_data_type, eargp); + eargp = rb_execarg_get(execarg_obj); w->ec = GET_EC(); waitpid_state_init(w, 0, 0); eargp->waitpid_state = w; |