PipeWire 1.2.6
Loading...
Searching...
No Matches
Result handling

Asynchronous result utilities More...

Files

file  result.h
 spa/utils/result.h
 

Macros

#define SPA_ASYNC_BIT   (1 << 30)
 
#define SPA_ASYNC_SEQ_MASK   (SPA_ASYNC_BIT - 1)
 
#define SPA_ASYNC_MASK   (~SPA_ASYNC_SEQ_MASK)
 
#define SPA_RESULT_IS_OK(res)
 
#define SPA_RESULT_IS_ERROR(res)
 
#define SPA_RESULT_IS_ASYNC(res)
 
#define SPA_RESULT_ASYNC_SEQ(res)
 
#define SPA_RESULT_RETURN_ASYNC(seq)
 
#define spa_strerror(err)
 

Detailed Description

Asynchronous result utilities

Macro Definition Documentation

◆ SPA_ASYNC_BIT

#define SPA_ASYNC_BIT   (1 << 30)

◆ SPA_ASYNC_SEQ_MASK

#define SPA_ASYNC_SEQ_MASK   (SPA_ASYNC_BIT - 1)

◆ SPA_ASYNC_MASK

#define SPA_ASYNC_MASK   (~SPA_ASYNC_SEQ_MASK)

◆ SPA_RESULT_IS_OK

#define SPA_RESULT_IS_OK ( res)
Value:
((res) >= 0)

◆ SPA_RESULT_IS_ERROR

#define SPA_RESULT_IS_ERROR ( res)
Value:
((res) < 0)

◆ SPA_RESULT_IS_ASYNC

#define SPA_RESULT_IS_ASYNC ( res)
Value:
#define SPA_ASYNC_MASK
Definition result.h:35
#define SPA_ASYNC_BIT
Definition result.h:31

◆ SPA_RESULT_ASYNC_SEQ

#define SPA_RESULT_ASYNC_SEQ ( res)
Value:
#define SPA_ASYNC_SEQ_MASK
Definition result.h:33

◆ SPA_RESULT_RETURN_ASYNC

#define SPA_RESULT_RETURN_ASYNC ( seq)
Value:
#define SPA_RESULT_ASYNC_SEQ(res)
Definition result.h:45

◆ spa_strerror