Changeset 1366 for libcaca


Ignore:
Timestamp:
Nov 12, 2006, 6:45:14 PM (16 years ago)
Author:
Sam Hocevar
Message:
  • Re-added cucul_getchar() to the legacy functions. Debian's current version of toilet needs it.
Location:
libcaca/trunk/cucul
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/cucul/cucul.h

    r1357 r1366  
    257257    int cucul_putchar(cucul_canvas_t *, int, int,
    258258                      unsigned long int) CUCUL_DEPRECATED;
     259    unsigned long int cucul_getchar(cucul_canvas_t *,
     260                                    int, int) CUCUL_DEPRECATED;
    259261    int cucul_putstr(cucul_canvas_t *, int, int,
    260262                     char const *) CUCUL_DEPRECATED;
  • libcaca/trunk/cucul/legacy.c

    r1362 r1366  
    3636{
    3737    return cucul_put_char(cv, x, y, ch);
     38}
     39
     40unsigned long int cucul_getchar(cucul_canvas_t *cv, int x, int y)
     41{
     42    return cucul_get_char(cv, x, y);
    3843}
    3944
Note: See TracChangeset for help on using the changeset viewer.