Hello.

On Fri, 12 Apr 2002 17:13:42 +0900
"U.Nakamura" <usa / osb.att.ne.jp> wrote:

> If you need to use C++, sorry, I can't help you.
> We should call C++ guru.

RUBY_METHOD_FUNC helps.

like this:
rb_define_method(cTest, "add", RUBY_METHOD_FUNC(t_add), 1);

takuma