Changeset 2355:6e0f9dabd648 in roaraudio


Ignore:
Timestamp:
08/14/09 21:12:43 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

just aliases

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroarsndio/midi.c

    r2353 r2355  
    3434#include "libroarsndio.h" 
    3535 
    36 struct mio_hdl * mio_open   (const char * name, unsigned mode, int nbio_flag); 
    37 void             mio_close  (struct mio_hdl * hdl); 
    38 size_t           mio_write  (struct mio_hdl * hdl, const void * addr, size_t nbytes); 
    39 size_t           mio_read   (struct mio_hdl * hdl, void * addr, size_t nbytes); 
    40 int              mio_nfds   (struct mio_hdl * hdl); 
    41 int              mio_pollfd (struct mio_hdl * hdl, struct pollfd * pfd, int events); 
    42 int              mio_revents(struct mio_hdl * hdl, struct pollfd * pfd); 
    43 int              mio_eof    (struct mio_hdl * hdl); 
     36struct mio_hdl * mio_open   (const char * name, unsigned mode, int nbio_flag) { 
     37 return sio_open(name, mode, nbio_flag); 
     38} 
     39 
     40void             mio_close  (struct mio_hdl * hdl) { 
     41 return sio_close(hdl); 
     42} 
     43 
     44size_t           mio_write  (struct mio_hdl * hdl, const void * addr, size_t nbytes) { 
     45 return sio_write(hdl, addr, nbytes); 
     46} 
     47 
     48size_t           mio_read   (struct mio_hdl * hdl, void * addr, size_t nbytes) { 
     49 return sio_read(hdl, addr, nbytes); 
     50} 
     51 
     52int              mio_nfds   (struct mio_hdl * hdl) { 
     53 return mio_nfds(hdl); 
     54} 
     55 
     56int              mio_pollfd (struct mio_hdl * hdl, struct pollfd * pfd, int events) { 
     57 return sio_pollfd(hdl, pfd, events); 
     58} 
     59 
     60int              mio_revents(struct mio_hdl * hdl, struct pollfd * pfd) { 
     61 return sio_revents(hdl, pfd); 
     62} 
     63 
     64int              mio_eof    (struct mio_hdl * hdl) { 
     65 return sio_eof(hdl); 
     66} 
    4467 
    4568//ll 
Note: See TracChangeset for help on using the changeset viewer.