Ignore:
Timestamp:
Apr 19, 2008, 9:25:41 PM (12 years ago)
Author:
Sam Hocevar
Message:
  • Changed most of the long ints in the API into C99 types. WARNING: this completely breaks compatibility with previous versions of libcaca on 64-bit systems.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/cucul/triangle.c

    r2299 r2303  
    4141 */
    4242int cucul_draw_triangle(cucul_canvas_t *cv, int x1, int y1, int x2, int y2,
    43                         int x3, int y3, unsigned long int ch)
     43                        int x3, int y3, uint32_t ch)
    4444{
    4545    cucul_draw_line(cv, x1, y1, x2, y2, ch);
     
    8888 */
    8989int cucul_fill_triangle(cucul_canvas_t *cv, int x1, int y1, int x2, int y2,
    90                         int x3, int y3, unsigned long int ch)
     90                        int x3, int y3, uint32_t ch)
    9191{
    9292    int x, y, xmin, xmax, ymin, ymax;
Note: See TracChangeset for help on using the changeset viewer.