Project

General

Profile

Actions

Feature #11207

closed

[PATCH] ext/socket/ancdata.c (bsock_sendmsg_internal): use rb_scan_args

Added by normalperson (Eric Wong) almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Target version:
-
[ruby-core:69439]

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 #1

Updated by Anonymous almost 9 years ago

  • Status changed from Open to Closed

Applied in changeset r50777.


ChangeLog: add entry for r50776 [ci skip]

Actions

Also available in: Atom PDF

Like0
Like0