Changeset 5651:b0e163908378 in roaraudio for include/libroar/debug.h


Ignore:
Timestamp:
09/12/12 16:22:42 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

Added compiler checks for printf() like format strings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/debug.h

    r5381 r5651  
    7474struct roar_vio_calls * roar_debug_get_stderr(void); 
    7575 
    76 void roar_debug_msg_simple(const char *format, ...); 
     76void roar_debug_msg_simple(const char *format, ...) _LIBROAR_ATTR_PRINTF(1, 2); 
    7777 
    78 void roar_debug_msg(int type, unsigned long int line, const char * file, const char * prefix, const char * format, ...); 
     78void roar_debug_msg(int type, unsigned long int line, const char * file, const char * prefix, const char * format, ...) _LIBROAR_ATTR_PRINTF(5, 6); 
    7979 
    8080#endif 
Note: See TracChangeset for help on using the changeset viewer.