Changeset 667


Ignore:
Timestamp:
Mar 22, 2006, 7:29:39 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Renamed cucul_get_export() to cucul_create_export().
Location:
libcaca/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/driver_network.c

    r644 r667  
    259259    /* Get ANSI representation of the image and skip the end-of buffer
    260260     * linefeed ("\r\n\0", 3 bytes) */
    261     kk->drv.p->ex = cucul_get_export(kk->qq, CUCUL_FORMAT_ANSI);
     261    kk->drv.p->ex = cucul_create_export(kk->qq, CUCUL_FORMAT_ANSI);
    262262    kk->drv.p->ex->size -= 3;
    263263
  • libcaca/trunk/cucul/cucul.c

    r665 r667  
    276276}
    277277
    278 struct cucul_export * cucul_get_export(cucul_t *qq, enum cucul_format format)
     278struct cucul_export * cucul_create_export(cucul_t *qq, enum cucul_format format)
    279279{
    280280    struct cucul_export *ex;
  • libcaca/trunk/cucul/cucul.h

    r666 r667  
    227227};
    228228
    229 struct cucul_export * cucul_get_export(cucul_t *, enum cucul_format);
     229struct cucul_export * cucul_create_export(cucul_t *, enum cucul_format);
    230230void cucul_free_export(struct cucul_export *);
    231231
  • libcaca/trunk/test/export.c

    r666 r667  
    9999    cucul_putstr(qq, WIDTH / 2 - 7, HEIGHT / 2, "    LIBCACA    ");
    100100
    101     buffer = cucul_get_export(qq, format);
     101    buffer = cucul_create_export(qq, format);
    102102    fwrite(buffer->buffer, buffer->size - 1, 1, stdout);
    103103    cucul_free_export(buffer);
Note: See TracChangeset for help on using the changeset viewer.