Ignore:
Timestamp:
Sep 27, 2008, 4:11:36 PM (11 years ago)
Author:
Sam Hocevar
Message:

Continuing the libcucul-libcaca merge.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/ruby/caca-canvas.c

    r2821 r2822  
    212212    if(CLASS_OF(src) != cCanvas)
    213213    {
    214         rb_raise(rb_eArgError, "src is not a Cucul::Canvas");
     214        rb_raise(rb_eArgError, "src is not a Caca::Canvas");
    215215    }
    216216    Data_Get_Struct(src, caca_canvas_t, csrc);
     
    220220        if(CLASS_OF(mask) != cCanvas)
    221221        {
    222             rb_raise(rb_eArgError, "mask is not a Cucul::Canvas");
     222            rb_raise(rb_eArgError, "mask is not a Caca::Canvas");
    223223        }
    224224        Data_Get_Struct(mask, caca_canvas_t, cmask);
     
    448448{
    449449    if(CLASS_OF(d) != cDither)
    450         rb_raise(rb_eArgError, "d is not a Cucul::Dither");
     450        rb_raise(rb_eArgError, "d is not a Caca::Dither");
    451451    Check_Type(pixels, T_STRING);
    452452
     
    518518    if(CLASS_OF(font) != cFont)
    519519    {
    520         rb_raise(rb_eArgError, "First argument is not a Cucul::Font");
     520        rb_raise(rb_eArgError, "First argument is not a Caca::Font");
    521521    }
    522522
     
    571571/****/
    572572
    573 void Init_caca_canvas(VALUE mCucul)
    574 {
    575     cCanvas = rb_define_class_under(mCucul, "Canvas", rb_cObject);
     573void Init_caca_canvas(VALUE mCaca)
     574{
     575    cCanvas = rb_define_class_under(mCaca, "Canvas", rb_cObject);
    576576    rb_define_alloc_func(cCanvas, canvas_alloc);
    577577
Note: See TracChangeset for help on using the changeset viewer.