merge revision(s) 40434:

* string.c: Document String#setbyte return value by @gjmurakami-10gen
	  [Fixes GH-294]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nagachika 2013-04-24 15:39:32 +00:00
parent 1914720cba
commit 072ac9a200
3 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,8 @@
Thu Apr 25 00:39:16 2013 Zachary Scott <zachary@zacharyscott.net>
* string.c: Document String#setbyte return value by @gjmurakami-10gen
[Fixes GH-294]
Thu Apr 25 00:38:06 2013 Zachary Scott <zachary@zacharyscott.net> Thu Apr 25 00:38:06 2013 Zachary Scott <zachary@zacharyscott.net>
* ext/socket/lib/socket.rb: Doc typos by @vipulnsward [Fixes GH-292] * ext/socket/lib/socket.rb: Doc typos by @vipulnsward [Fixes GH-292]

View file

@ -4090,9 +4090,9 @@ rb_str_getbyte(VALUE str, VALUE index)
/* /*
* call-seq: * call-seq:
* str.setbyte(index, int) -> int * str.setbyte(index, integer) -> integer
* *
* modifies the <i>index</i>th byte as <i>int</i>. * modifies the <i>index</i>th byte as <i>integer</i>.
*/ */
static VALUE static VALUE
rb_str_setbyte(VALUE str, VALUE index, VALUE value) rb_str_setbyte(VALUE str, VALUE index, VALUE value)

View file

@ -1,6 +1,6 @@
#define RUBY_VERSION "2.0.0" #define RUBY_VERSION "2.0.0"
#define RUBY_RELEASE_DATE "2013-04-25" #define RUBY_RELEASE_DATE "2013-04-25"
#define RUBY_PATCHLEVEL 164 #define RUBY_PATCHLEVEL 165
#define RUBY_RELEASE_YEAR 2013 #define RUBY_RELEASE_YEAR 2013
#define RUBY_RELEASE_MONTH 4 #define RUBY_RELEASE_MONTH 4