Changeset 3855:fbe1a88948e6 in roaraudio for include/libroar/config.h


Ignore:
Timestamp:
05/16/10 22:44:51 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added config support for obsolete warnings, keyword 'all' and roar_libroar_*warn()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/config.h

    r3810 r3855  
    8787 struct { 
    8888  int sysio; 
     89  int obsolete; 
    8990 } warnings; 
    9091 struct { 
     
    9798  char * display; 
    9899 } x11; 
     100 size_t nowarncounter; 
    99101}; 
    100102 
     
    109111char * roar_libroar_get_server(void); 
    110112 
     113void   roar_libroar_nowarn(void); 
     114void   roar_libroar_warn(void); 
     115#define roar_libroar_iswarn(cfg) (((cfg) == NULL ? roar_libroar_get_config_ptr() : (cfg))->nowarncounter ? 0 : 1) 
     116 
    111117#endif 
    112118 
Note: See TracChangeset for help on using the changeset viewer.