Changeset 5011:512edfc544df in roaraudio for include/libroar/buffer.h


Ignore:
Timestamp:
05/26/11 10:14:15 (11 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

Added memory corruption and double free detection to buffer API.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/buffer.h

    r4901 r5011  
    4343#define ROAR_BUFFER_FLAG_RING            0x02 
    4444#define ROAR_BUFFER_FLAG_FREE_RUNNING    0x04 
     45 
     46// for memory corruption detection: 
     47#define ROAR_BUFFER_FLAG_USEABLE         0x40 
     48#define ROAR_BUFFER_FLAG_FREED           0x80 
    4549 
    4650#define ROAR_BUFFER_SET                     0 
Note: See TracChangeset for help on using the changeset viewer.