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:
Wim Taymans 2019-01-14 12:58:23 +01:00
parent 6856f02cab
commit 3dc6820e9e
146 changed files with 890 additions and 951 deletions

View file

@ -29,10 +29,7 @@
#include "config.h"
#include "pipewire/interfaces.h"
#include "pipewire/core.h"
#include "pipewire/log.h"
#include "pipewire/module.h"
#include "pipewire/pipewire.h"
#include "spa-node.h"

View file

@ -39,6 +39,7 @@
#include "pipewire/port.h"
#include "pipewire/log.h"
#include "pipewire/private.h"
#include "pipewire/pipewire.h"
struct impl {
struct pw_device *this;

View file

@ -22,8 +22,8 @@
* DEALINGS IN THE SOFTWARE.
*/
#ifndef __PIPEWIRE_SPA_DEVICE_H__
#define __PIPEWIRE_SPA_DEVICE_H__
#ifndef PIPEWIRE_SPA_DEVICE_H
#define PIPEWIRE_SPA_DEVICE_H
#include <spa/monitor/device.h>
@ -67,4 +67,4 @@ void *pw_spa_device_get_user_data(struct pw_device *device);
}
#endif
#endif /* __PIPEWIRE_SPA_DEVICE_H__ */
#endif /* PIPEWIRE_SPA_DEVICE_H */

View file

@ -22,8 +22,8 @@
* DEALINGS IN THE SOFTWARE.
*/
#ifndef __PIPEWIRE_SPA_MONITOR_H__
#define __PIPEWIRE_SPA_MONITOR_H__
#ifndef PIPEWIRE_SPA_MONITOR_H
#define PIPEWIRE_SPA_MONITOR_H
#include <spa/monitor/monitor.h>
@ -59,4 +59,4 @@ pw_spa_monitor_destroy(struct pw_spa_monitor *monitor);
}
#endif
#endif /* __PIPEWIRE_SPA_MONITOR_H__ */
#endif /* PIPEWIRE_SPA_MONITOR_H */

View file

@ -22,8 +22,8 @@
* DEALINGS IN THE SOFTWARE.
*/
#ifndef __PIPEWIRE_SPA_NODE_H__
#define __PIPEWIRE_SPA_NODE_H__
#ifndef PIPEWIRE_SPA_NODE_H
#define PIPEWIRE_SPA_NODE_H
#include <spa/node/node.h>
@ -69,4 +69,4 @@ void *pw_spa_node_get_user_data(struct pw_node *node);
}
#endif
#endif /* __PIPEWIRE_SPA_NODE_H__ */
#endif /* PIPEWIRE_SPA_NODE_H */