Ignore:
Timestamp:
Jul 27, 2009, 1:26:08 AM (11 years ago)
Author:
Sam Hocevar
Message:

Implement caca_vprintf() to allow third-party variadic functions to call us.

File:
1 edited

Legend:

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

    r3583 r3586  
    2626
    2727#include <caca_types.h>
     28
     29#if !defined(__KERNEL__)
     30#   include <stdarg.h>
     31#endif
    2832
    2933#undef __extern
     
    228232__extern int caca_put_str(caca_canvas_t *, int, int, char const *);
    229233__extern int caca_printf(caca_canvas_t *, int, int, char const *, ...);
     234__extern int caca_vprintf(caca_canvas_t *, int, int, char const *, va_list);
    230235__extern int caca_clear_canvas(caca_canvas_t *);
    231236__extern int caca_set_canvas_handle(caca_canvas_t *, int, int);
Note: See TracChangeset for help on using the changeset viewer.