ruby-changes:38697
From: normal <ko1@a...>
Date: Fri, 5 Jun 2015 06:45:38 +0900 (JST)
Subject: [ruby-changes:38697] normal:r50778 (trunk): doc/extension.rdoc: note rb_get_kwargs changes keywords_hash [ci skip]
normal 2015-06-05 06:45:23 +0900 (Fri, 05 Jun 2015) New Revision: 50778 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50778 Log: doc/extension.rdoc: note rb_get_kwargs changes keywords_hash [ci skip] [ruby-core:68507] Modified files: trunk/ChangeLog trunk/doc/extension.rdoc Index: doc/extension.rdoc =================================================================== --- doc/extension.rdoc (revision 50777) +++ doc/extension.rdoc (revision 50778) @@ -1401,7 +1401,8 @@ rb_scan_args(int argc, VALUE *argv, cons https://github.com/ruby/ruby/blob/trunk/doc/extension.rdoc#L1401 int rb_get_kwargs(VALUE keyword_hash, const ID *table, int required, int optional, VALUE *values) Retrieves argument VALUEs bound to keywords, which directed by +table+ - into +values+. First +required+ number of IDs referred by +table+ are + into +values+, deleting retrieved entries from +keyword_hash+ along + the way. First +required+ number of IDs referred by +table+ are mandatory, and succeeding +optional+ (- +optional+ - 1 if +optional+ is negative) number of IDs are optional. If a mandatory key is not contained in +keyword_hash+, raises "missing Index: ChangeLog =================================================================== --- ChangeLog (revision 50777) +++ ChangeLog (revision 50778) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Fri Jun 5 06:43:00 2015 Eric Wong <e@8...> + + * doc/extension.rdoc: note rb_get_kwargs changes keywords_hash + [ruby-core:68507] + Fri Jun 5 05:50:29 2015 Eric Wong <e@8...> * ext/socket/ancdata.c (bsock_sendmsg_internal): use rb_scan_args -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/