Changeset 5109:4f9fc788fe91 in roaraudio for include/libroar/config.h


Ignore:
Timestamp:
07/28/11 16:32:34 (13 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

Started to use compiler attributes (Also see: #130)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/config.h

    r5010 r5109  
    106106}; 
    107107 
    108 struct roar_libroar_config * roar_libroar_get_config_ptr(void); 
    109 struct roar_libroar_config * roar_libroar_get_config(void); 
     108struct roar_libroar_config * roar_libroar_get_config_ptr(void) _LIBROAR_ATTR_USE_RESULT; 
     109struct roar_libroar_config * roar_libroar_get_config(void) _LIBROAR_ATTR_USE_RESULT; 
    110110 
    111111int    roar_libroar_reset_config(void); 
    112112 
    113 int    roar_libroar_config_parse(char * txt, char * delm); 
     113int    roar_libroar_config_parse(char * txt, char * delm) _LIBROAR_ATTR_NONNULL(1); 
    114114 
    115115struct roar_libroar_config_codec * roar_libroar_config_codec_get(int codec, int create); 
    116116 
    117117int    roar_libroar_set_server(char * server); 
    118 char * roar_libroar_get_server(void); 
     118char * roar_libroar_get_server(void) _LIBROAR_ATTR_USE_RESULT; 
    119119 
    120120void   roar_libroar_nowarn(void); 
Note: See TracChangeset for help on using the changeset viewer.