Hi,

At Sun, 27 May 2007 02:04:24 +0900,
Stuart Trail wrote in [ruby-talk:253118]:
> How does a proc object get passed when writing a ruby extension in c?

> None of the usual types match. What is 'a' here? There doesn't seem to
> be a struct for Procs in ruby.h. Might it be a pointer to the iseq
> struct? :)

T_DATA.

See rb_obj_is_proc() in proc.c.

-- 
Nobu Nakada