- rb_define_singleton_method (cLine, "new", c_new, 1);
- rb_define_method (cLine, "get_xy", c_get_xy, 0);
- rb_define_method (cLine, "set_xy", c_set_xy, 4);
+ rb_define_singleton_method (c, "new", c_new, 1);
+ rb_define_method (c, "get_xy", c_get_xy, 0);
+ rb_define_method (c, "set_xy", c_set_xy, 4);