mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-10 13:30:05 -05:00
Don't use __ in defines or declarations, it's reserved
SPA_TYPE -> SPA_TYPE_INFO for type info strings improve includes Fixes #115
This commit is contained in:
parent
6856f02cab
commit
3dc6820e9e
146 changed files with 890 additions and 951 deletions
|
|
@ -22,8 +22,8 @@
|
|||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef __SPA_DEBUG_BUFFER_H__
|
||||
#define __SPA_DEBUG_BUFFER_H__
|
||||
#ifndef SPA_DEBUG_BUFFER_H
|
||||
#define SPA_DEBUG_BUFFER_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
@ -115,4 +115,4 @@ static inline int spa_debug_buffer(int indent, const struct spa_buffer *buffer)
|
|||
} /* extern "C" */
|
||||
#endif
|
||||
|
||||
#endif /* __SPA_DEBUG_BUFFER_H__ */
|
||||
#endif /* SPA_DEBUG_BUFFER_H */
|
||||
|
|
|
|||
|
|
@ -22,8 +22,8 @@
|
|||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef __SPA_DEBUG_DICT_H__
|
||||
#define __SPA_DEBUG_DICT_H__
|
||||
#ifndef SPA_DEBUG_DICT_H
|
||||
#define SPA_DEBUG_DICT_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
@ -48,4 +48,4 @@ static inline int spa_debug_dict(int indent, const struct spa_dict *dict)
|
|||
} /* extern "C" */
|
||||
#endif
|
||||
|
||||
#endif /* __SPA_DEBUG_DICT_H__ */
|
||||
#endif /* SPA_DEBUG_DICT_H */
|
||||
|
|
|
|||
|
|
@ -22,8 +22,8 @@
|
|||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef __SPA_DEBUG_FORMAT_H__
|
||||
#define __SPA_DEBUG_FORMAT_H__
|
||||
#ifndef SPA_DEBUG_FORMAT_H
|
||||
#define SPA_DEBUG_FORMAT_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
@ -202,4 +202,4 @@ static inline int spa_debug_format(int indent,
|
|||
} /* extern "C" */
|
||||
#endif
|
||||
|
||||
#endif /* __SPA_DEBUG_FORMAT_H__ */
|
||||
#endif /* SPA_DEBUG_FORMAT_H */
|
||||
|
|
|
|||
|
|
@ -22,8 +22,8 @@
|
|||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef __SPA_DEBUG_MEM_H__
|
||||
#define __SPA_DEBUG_MEM_H__
|
||||
#ifndef SPA_DEBUG_MEM_H
|
||||
#define SPA_DEBUG_MEM_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
@ -57,4 +57,4 @@ static inline int spa_debug_mem(int indent, const void *data, size_t size)
|
|||
} /* extern "C" */
|
||||
#endif
|
||||
|
||||
#endif /* __SPA_DEBUG_MEM_H__ */
|
||||
#endif /* SPA_DEBUG_MEM_H */
|
||||
|
|
|
|||
|
|
@ -22,8 +22,8 @@
|
|||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef __SPA_DEBUG_NODE_H__
|
||||
#define __SPA_DEBUG_NODE_H__
|
||||
#ifndef SPA_DEBUG_NODE_H
|
||||
#define SPA_DEBUG_NODE_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
@ -54,4 +54,4 @@ int spa_debug_port_info(int indent, const struct spa_port_info *info)
|
|||
} /* extern "C" */
|
||||
#endif
|
||||
|
||||
#endif /* __SPA_DEBUG_NODE_H__ */
|
||||
#endif /* SPA_DEBUG_NODE_H */
|
||||
|
|
|
|||
|
|
@ -22,8 +22,8 @@
|
|||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef __SPA_DEBUG_POD_H__
|
||||
#define __SPA_DEBUG_POD_H__
|
||||
#ifndef SPA_DEBUG_POD_H
|
||||
#define SPA_DEBUG_POD_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
@ -271,4 +271,4 @@ static inline int spa_debug_pod(int indent,
|
|||
} /* extern "C" */
|
||||
#endif
|
||||
|
||||
#endif /* __SPA_DEBUG_POD_H__ */
|
||||
#endif /* SPA_DEBUG_POD_H */
|
||||
|
|
|
|||
|
|
@ -22,8 +22,8 @@
|
|||
* DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef __SPA_DEBUG_TYPES_H__
|
||||
#define __SPA_DEBUG_TYPES_H__
|
||||
#ifndef SPA_DEBUG_TYPES_H
|
||||
#define SPA_DEBUG_TYPES_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
@ -77,4 +77,4 @@ static inline uint32_t spa_debug_type_find_type(const struct spa_type_info *info
|
|||
} /* extern "C" */
|
||||
#endif
|
||||
|
||||
#endif /* __SPA_DEBUG_NODE_H__ */
|
||||
#endif /* SPA_DEBUG_NODE_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue