Changeset 5753:8f9452db74de in roaraudio for include


Ignore:
Timestamp:
11/16/12 13:46:25 (11 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

corrected compiler attriebutes

Location:
include/libroar
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/config.h

    r5747 r5753  
    161161// Returns buffer which needs to be freed with roar_mm_free(). 
    162162// Not all paths support product/provider part. If not supported they are ignored. 
    163 char * roar_libroar_get_path(const char * name, int null_as_universal, const char * product, const char * provider); 
     163char * roar_libroar_get_path(const char * name, int null_as_universal, const char * product, const char * provider) _LIBROAR_ATTR_USE_RESULT; 
    164164 
    165165#endif 
  • include/libroar/env.h

    r5752 r5753  
    4040 
    4141int roar_env_set(struct roar_keyval * keyval); 
    42 const char * roar_env_get(const char * key); 
    43 const char * roar_env_get_home(int level); 
    44 int roar_env_get_home_r(int level, char * str, size_t len) _LIBROAR_ATTR_DEPRECATED; 
     42const char * roar_env_get(const char * key) _LIBROAR_ATTR_USE_RESULT; 
     43const char * roar_env_get_home(int level) _LIBROAR_ATTR_USE_RESULT; 
     44int roar_env_get_home_r(int level, char * str, size_t len) _LIBROAR_ATTR_USE_RESULT; 
    4545 
    46 int roar_env_render_path_r(char * out, size_t len, const char * inpath); 
     46int roar_env_render_path_r(char * out, size_t len, const char * inpath) _LIBROAR_ATTR_USE_RESULT; 
    4747 
    4848#endif 
Note: See TracChangeset for help on using the changeset viewer.