From: Yuri Danielyan Date: 2009-03-11T18:40:21+09:00 Subject: Re: Q: hash parameter passed to c++ ruby extension is incomplete Heesob Park wrote: > I guess the problem is due to the Collision resolution [1]. > > The st_table, num_entries and bins are highly implementation dependent > so using it directly in extension code is not recommended. > > rb_hash_foreach Thank you Actually I started with using rb_hash_foreach, but sometimes I don't see this function in intern.h (probably older Ruby versions), so I turned to direct usage. But after your reply I thought that maybe there are two items under same bin and I can reach it somehow. -- Posted via http://www.ruby-forum.com/.