Changeset 4630:a09bea925581 in roaraudio


Ignore:
Timestamp:
11/28/10 15:10:18 (11 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

report error values set with _seterr()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/vs.c

    r4629 r4630  
    4545 
    4646#define _initerr()  do { errno = 0; roar_err_clear(); } while(0) 
    47 #define _seterr(x)  do { if ( error != NULL ) *error = (x); } while(0) 
     47#define _seterr(x)  do { if ( error != NULL ) *error = (x); ROAR_DBG("roar_vs_*(*): *error=%s(%i)", roar_vs_strerr((x)), (x)); } while(0) 
    4848#define _seterrre() do { _seterr(roar_errno); } while(0) 
    4949#define _seterrse() do { roar_err_from_errno(); _seterr(roar_errno); } while(0) 
Note: See TracChangeset for help on using the changeset viewer.