/home/bifh1/fremantle-i386-fremantle-pe1.cs2007q3/work/libplayback-0.5/libplayback/playback-macros.h File Reference
Go to the source code of this file.
Define Documentation
#define pb_n_elements |
( |
x |
|
) |
(sizeof(x)/sizeof(x[0])) |
#define pb_return_if_fail |
( |
Exp |
|
) |
|
Value:
do{ \
if ((Exp) == FALSE) { \
PB_LOG ("assertion %s failed", #Exp); \
return ; \
} \
}while(0)
#define pb_return_val_if_fail |
( |
Exp, |
|
|
Val |
|
) |
|
Value:
do{ \
if ((Exp) == FALSE) { \
PB_LOG ("assertion %s failed", #Exp); \
return (Val); \
} \
}while(0)
#define PB_STRINGIFY |
( |
macro_or_string |
|
) |
PB_STRINGIFY_ARG (macro_or_string) |
#define PB_STRINGIFY_ARG |
( |
contents |
|
) |
#contents |
#define PB_STRLOC __FILE__ ":" PB_STRINGIFY (__LINE__) |