зеркало из https://github.com/github/ruby.git
* string.c: Document String#setbyte return value by @gjmurakami-10gen
[Fixes GH-294] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
6500760bd3
Коммит
6dc1ee17c5
|
@ -1,3 +1,8 @@
|
|||
Wed Apr 24 13:54:00 2013 Zachary Scott <zachary@zacharyscott.net>
|
||||
|
||||
* string.c: Document String#setbyte return value by @gjmurakami-10gen
|
||||
[Fixes GH-294]
|
||||
|
||||
Wed Apr 24 13:45:00 2013 Zachary Scott <zachary@zacharyscott.net>
|
||||
|
||||
* class.c: Example of Object#methods by @windwiny [Fixes GH-293]
|
||||
|
|
4
string.c
4
string.c
|
@ -4092,9 +4092,9 @@ rb_str_getbyte(VALUE str, VALUE index)
|
|||
|
||||
/*
|
||||
* 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
|
||||
rb_str_setbyte(VALUE str, VALUE index, VALUE value)
|
||||
|
|
Загрузка…
Ссылка в новой задаче