mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* class.c (rb_obj_basic_to_s_p): typo. Please become familiar with
the ANSI style. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4079c46912
commit
359d932332
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Thu Oct 22 21:10:39 2009 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* class.c (rb_obj_basic_to_s_p): typo. Please become familiar with
|
||||
the ANSI style.
|
||||
|
||||
Thu Oct 22 20:20:27 2009 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* test/ruby/envutil.rb (assert_in_out_err): test_stdout and
|
||||
|
|
2
class.c
2
class.c
|
@ -1258,7 +1258,7 @@ rb_define_attr(VALUE klass, const char *name, int read, int write)
|
|||
}
|
||||
|
||||
int
|
||||
rb_obj_basic_to_s_p(obj)
|
||||
rb_obj_basic_to_s_p(VALUE obj)
|
||||
{
|
||||
const rb_method_entry_t *me = rb_method_entry(CLASS_OF(obj), rb_intern("to_s"));
|
||||
if (me && me->def && me->def->type == VM_METHOD_TYPE_CFUNC &&
|
||||
|
|
Loading…
Reference in a new issue