# -----Original Message----- # From: Wai-Sun Chia [mailto:waisun.chia / compaq.com] # 1. What's the diff between rb_iv_set() and rb_ivar_set()? When do you # use either of them? The first takes name in the form of string, but the second takes ID. # # 2. When you use: # VALUE Foo = Data_Wrap_Struct(cFooClass, 0, NULL, data); # # Does Ruby automatically invoke the .new constructor of No. It does not. If it did one couldn't call Data_Wrap_Struct in its implementation of "new" class method.