Changeset 5297:9dc3f254b670 in roaraudio


Ignore:
Timestamp:
11/25/11 02:38:53 (11 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

removed roar_buffer_clear_next() (See: #130)

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/buffer.h

    r5109 r5297  
    7878int roar_buffer_ring_new (struct roar_buffer ** buf, size_t len, int free_running) _LIBROAR_BUFFER_STDATTRS; 
    7979 
    80 int roar_buffer_clear_next (struct roar_buffer *  buf) _LIBROAR_BUFFER_STDATTRS _LIBROAR_ATTR_DEPRECATED; 
    8180int roar_buffer_get_next   (struct roar_buffer *  buf, struct roar_buffer ** next) _LIBROAR_BUFFER_STDATTRS; 
    8281 
  • libroar/buffer.c

    r5131 r5297  
    296296} 
    297297 
    298 int roar_buffer_clear_next (struct roar_buffer *  buf) { 
    299  _ckbuf(0) 
    300  
    301  buf->next = NULL; 
    302  
    303  return 0; 
    304 } 
    305  
    306298int roar_buffer_get_next (struct roar_buffer *  buf, struct roar_buffer ** next) { 
    307299 _ckbuf(0) 
Note: See TracChangeset for help on using the changeset viewer.