Project

General

Profile

« Previous | Next » 

Revision dfc3fcce

Added by akr (Akira Tanaka) almost 16 years ago

  • ext/syck/rubyext.c (id_hash_new): new function to create a hash
    which key is compared by object id.
    (syck_parser_load): use id_hash_new for bonus->data.
    (syck_parser_load_documents): ditto.
    (syck_emitter_reset): ditto.

  • lib/yaml.rb (YAML.quick_emit): give the object itself to eimitter.
    don't use object_id and hash.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e