Any advice, documentation, or examples regarding this function? What is the advantage of using rb_define_alloc_func() over just doing something like: rb_define_singleton_method(cMyClass, "new", MyClass_rb_new, -1); ? -Charlie