Ignore:
Timestamp:
Feb 9, 2010 1:09:34 AM (4 years ago)
Author:
sam
Message:

Get rid of deprecated libcaca calls now that beta17 is out.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • toilet/trunk/src/render.c

    r4134 r4349  
    6464 
    6565        caca_set_canvas_size(cv, 0, 0); 
    66         caca_import_memory(cv, line, strlen(line), "utf8"); 
     66        caca_import_canvas_from_memory(cv, line, strlen(line), "utf8"); 
    6767        for(i = 0; i < caca_get_canvas_width(cv); i++) 
    6868        { 
     
    107107 
    108108        caca_set_canvas_size(cv, 0, 0); 
    109         caca_import_memory(cv, parser, len, "utf8"); 
     109        caca_import_canvas_from_memory(cv, parser, len, "utf8"); 
    110110        for(i = 0; i < caca_get_canvas_width(cv); i++) 
    111111        { 
     
    157157 
    158158    /* Output line */ 
    159     buffer = caca_export_memory(cx->torender, cx->export, &len); 
     159    buffer = caca_export_canvas_to_memory(cx->torender, cx->export, &len); 
    160160    if(!buffer) 
    161161        return -1; 
Note: See TracChangeset for help on using the changeset viewer.