- rb_define_singleton_method (cEcoreJob, "new", c_new, 0);
- rb_define_method (cEcoreJob, "initialize", c_init, 0);
- rb_define_method (cEcoreJob, "delete", c_delete, 0);
+ rb_define_alloc_func (c, c_alloc);
+ rb_define_method (c, "initialize", c_init, 0);
+ rb_define_method (c, "delete", c_delete, 0);