From: ahoward Date: 2003-02-05T14:25:56+09:00 Subject: Re: ruby intern On Wed, 5 Feb 2003, Markus Schmaus wrote: > I was interested in how ruby handles functioncalls intern. > I found out that the coresponding C function is rb_funcall but I couldn't > find where this function is defined. > The only thing I found was > VALUE rb_funcall __((VALUE, ID, int, ...)); > in ruby.h but I couldn't make sense of it. download glimpse. it is _awesome_ for searching large bodies of code like ruby /usr/local/ruby-1.6.6 > glimpse -n -H ./ '^rb_funcall' Your query may search about 25% of the total space! Continue? (y/n)y ../eval.c: 4630: rb_funcall(VALUE recv, ID mid, int n, ...) ../eval.c: 4632: rb_funcall(recv, mid, n, va_alist) ../eval.c: 4661: rb_funcall2(recv, mid, argc, argv) ../eval.c: 4671: rb_funcall3(recv, mid, argc, argv) ....looks like it is in eval.c -a -- ==================================== | Ara Howard | NOAA Forecast Systems Laboratory | Information and Technology Services | Data Systems Group | R/FST 325 Broadway | Boulder, CO 80305-3328 | Email: ahoward@fsl.noaa.gov | Phone: 303-497-7238 | Fax: 303-497-7259 ====================================