Actions
Feature #11207
closed[PATCH] ext/socket/ancdata.c (bsock_sendmsg_internal): use rb_scan_args
Description
This should make the code more maintainable and make it easy to add
keyword argument (to support "exception: false") in the future.
This unfortunately may cause extra allocations, but I don't
think it's worth worrying about since there are other
rb_scan_args callers which do the same thing as well.
akr: any comment? I might commit this in a few days and
prepare another patch for "exception: false" support. Thanks.
Files
Actions
Like0
Like0