ts wrote: > Look at rb_dl_callback_func_0_0() and rb_dl_callback_func_0_1() they do > *exactly* the same thing except for these lines > > obj = rb_hash_aref(DLFuncTable, rb_assoc_new(INT2NUM(0),INT2NUM(0))); > > obj = rb_hash_aref(DLFuncTable, rb_assoc_new(INT2NUM(0),INT2NUM(1))); I also can't see what you are getting at. If I don't use the above two line, rb_dl_callback_func_x_y must receive a clue as to ruby's proc object, but arguments passed to the function are not given by DL. > The problem with dl is that it has stored [bloc, proto] in an *external* > structure (DLFuncTable) and it use the name of the function to retrieve > the data. How should I retrieve the data? -- Takaaki Tateishi <ttate / ttsky.net>