* object.c: format comments to keep 80 columns in a line.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4902517f99
commit
9fac3321a7
13
object.c
13
object.c
@ -97,14 +97,15 @@ rb_obj_equal(VALUE obj1, VALUE obj2)
|
|||||||
return Qfalse;
|
return Qfalse;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Generates a <code>Fixnum</code> hash value for this object. This function must have the
|
* Generates a <code>Fixnum</code> hash value for this object.
|
||||||
* property that a.eql?(b) implies a.hash <code>==</code> b.hash. The hash value is used by
|
* This function must have the property that a.eql?(b) implies
|
||||||
* class <code>Hash</code>. Any hash value that exceeds the capacity of a <code>Fixnum</code> will be
|
* a.hash <code>==</code> b.hash.
|
||||||
|
* The hash value is used by class <code>Hash</code>.
|
||||||
|
* Any hash value that exceeds the capacity of a <code>Fixnum</code> will be
|
||||||
* truncated before being used.
|
* truncated before being used.
|
||||||
*
|
*
|
||||||
* "waffle" #=> "waffle"
|
* "waffle".hash #=> -910576647
|
||||||
* "waffle".hash #=> -910576647
|
|
||||||
*/
|
*/
|
||||||
VALUE
|
VALUE
|
||||||
rb_obj_hash(VALUE obj)
|
rb_obj_hash(VALUE obj)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user