1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

doc/extension.rdoc: note rb_get_kwargs changes keywords_hash [ci skip]

[ruby-core:68507]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
normal 2015-06-04 21:45:23 +00:00
parent 4dd6c370b9
commit 5c461d1eee
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Fri Jun 5 06:43:00 2015 Eric Wong <e@80x24.org>
* doc/extension.rdoc: note rb_get_kwargs changes keywords_hash
[ruby-core:68507]
Fri Jun 5 05:50:29 2015 Eric Wong <e@80x24.org>
* ext/socket/ancdata.c (bsock_sendmsg_internal): use rb_scan_args

View file

@ -1401,7 +1401,8 @@ rb_scan_args(int argc, VALUE *argv, const char *fmt, ...) ::
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