mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-19 07:00:10 -05:00
Improve some debug
This commit is contained in:
parent
6e0ffb0c47
commit
e04d58ee3a
12 changed files with 24 additions and 21 deletions
|
|
@ -251,8 +251,15 @@ struct spa_param_info {
|
|||
__FILE__, __LINE__, __func__, (d), (s), (size_t)(n)); \
|
||||
memcpy(d,s,n); \
|
||||
})
|
||||
#define spa_memmove(d,s,n) \
|
||||
({ \
|
||||
fprintf(stderr, "%s:%u %s() memmove(%p, %p, %zd)\n", \
|
||||
__FILE__, __LINE__, __func__, (d), (s), (size_t)(n)); \
|
||||
memmove(d,s,n); \
|
||||
})
|
||||
#else
|
||||
#define spa_memcpy(d,s,n) memcpy(d,s,n)
|
||||
#define spa_memmove(d,s,n) memmove(d,s,n)
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue