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
Updated by Anonymous about 9 years ago
- Status changed from Open to Closed
Applied in changeset r50777.
ChangeLog: add entry for r50776 [ci skip]
- ext/socket/ancdata.c (bsock_sendmsg_internal): use rb_scan_args
[ruby-core:69439] [Feature #11207]
Actions
Like0
Like0