From: Admin Tensor Date: 2012-11-25T02:24:40+09:00 Subject: Re: C Extension: Why would VALUE state appear differently during shutdown than immediately before it Robert Buck wrote in post #1086213: > struct hierarchical_handle > { ....... > // used to pin parents in memory via rb_gc_mark > VALUE parent; > }; Hi, Just a little comment here. If I have to to traverse a graph of objects, I will use something similar to "VALUE* children" instead of "VALUE parent" for rb_gc_mark (and it is more true for the free function pointers). Regards, Bill -- Posted via http://www.ruby-forum.com/.