Changeset 5227:beb26bba0901 in roaraudio for include/libroar/vs.h


Ignore:
Timestamp:
11/12/11 13:26:38 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added const keywords to roar_vio_open_dstr(), roar_vio_open_dstr_vio(), roar_vs_file_simple() and roar_vs_new_from_file()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/vs.h

    r5109 r5227  
    7979/* Open a file and attach it. 
    8080 */ 
    81 int roar_vs_file_simple(roar_vs_t * vss, char * filename, int * error) _LIBROAR_ATTR_USE_RESULT _LIBROAR_ATTR_NONNULL(1, 2); 
     81int roar_vs_file_simple(roar_vs_t * vss, const char * filename, int * error) _LIBROAR_ATTR_USE_RESULT _LIBROAR_ATTR_NONNULL(1, 2); 
    8282 
    8383/* Connects to a server to just play a file. 
    8484 */ 
    85 roar_vs_t * roar_vs_new_from_file(const char * server, const char * name, char * filename, int * error) _LIBROAR_ATTR_USE_RESULT _LIBROAR_ATTR_NONNULL(3); 
     85roar_vs_t * roar_vs_new_from_file(const char * server, const char * name, const char * filename, int * error) _LIBROAR_ATTR_USE_RESULT _LIBROAR_ATTR_NONNULL(3); 
    8686 
    8787/* Switch to buffered mode. 
Note: See TracChangeset for help on using the changeset viewer.