Changeset 2574:ec7d9af6f76b in roaraudio for include/libroarsndio


Ignore:
Timestamp:
09/06/09 00:32:20 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

use keyword const the same way as libsndio does

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroarsndio/sndiosym.h

    r2351 r2574  
    9494struct sio_cap; 
    9595 
    96 struct sio_hdl * sio_open(char * name, unsigned mode, int nbio_flag); 
     96struct sio_hdl * sio_open(const char * name, unsigned mode, int nbio_flag); 
    9797void   sio_close  (struct sio_hdl * hdl); 
    9898 
     
    106106int    sio_stop   (struct sio_hdl * hdl); 
    107107 
    108 size_t sio_read   (struct sio_hdl * hdl, void * addr, size_t nbytes); 
    109 size_t sio_write  (struct sio_hdl * hdl, void * addr, size_t nbytes); 
     108size_t sio_read   (struct sio_hdl * hdl,       void * addr, size_t nbytes); 
     109size_t sio_write  (struct sio_hdl * hdl, const void * addr, size_t nbytes); 
    110110 
    111111void   sio_onmove (struct sio_hdl * hdl, void (*cb)(void * arg, int delta), void * arg); 
Note: See TracChangeset for help on using the changeset viewer.