- Timestamp:
- 05/09/2006 00:16:58 (3 years ago)
- Location:
- trunk/ext/ruby
- Files:
-
- 2 modified
-
README (modified) (1 diff)
-
ext/syck/rubyext.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ext/ruby/README
r90 r234 20 20 --- %YAML:1.0 21 21 title: YAML.rb 22 version: 0.6 022 version: 0.65 23 23 author: [Why the Lucky Stiff, yaml-core@whytheluckystiff.net] 24 24 websites: [http://www.yaml.org, http://yaml4r.sf.net, http://sf.net/projects/yaml4r/] -
trunk/ext/ruby/ext/syck/rubyext.c
r233 r234 579 579 tmp = rb_ary_reverse( tmp ); 580 580 rb_ary_push( tmp, obj ); 581 rb_ block_call( tmp, s_each, 0, 0, syck_merge_i, dup );581 rb_iterate( rb_each, tmp, syck_merge_i, dup ); 582 582 obj = dup; 583 583 skip_aset = 1; … … 796 796 rb_ivar_set(self, s_options, options); 797 797 rb_ivar_set(self, s_input, Qnil); 798 rb_ivar_set(self, s_resolver, Qnil); 798 799 return self; 799 800 } … … 1014 1015 v = rb_ary_reverse( v ); 1015 1016 rb_ary_push( v, obj ); 1016 rb_ block_call( v, s_each, 0, 0, syck_merge_i, dup );1017 rb_iterate( rb_each, v, syck_merge_i, dup ); 1017 1018 obj = dup; 1018 1019 skip_aset = 1; … … 1183 1184 else if ( !NIL_P( obj ) && rb_obj_is_instance_of( val, rb_cHash ) ) 1184 1185 { 1185 rb_ block_call( val, s_each, 0, 0, syck_set_ivars, obj );1186 rb_iterate( rb_each, val, syck_set_ivars, obj ); 1186 1187 } 1187 1188 }