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

@ -22,8 +22,8 @@
* DEALINGS IN THE SOFTWARE.
*/
#ifndef __PIPEWIRE_NODE_H__
#define __PIPEWIRE_NODE_H__
#ifndef PIPEWIRE_NODE_H
#define PIPEWIRE_NODE_H
#ifdef __cplusplus
extern "C" {
@ -43,6 +43,8 @@ extern "C" {
*/
struct pw_node;
#include <spa/node/event.h>
#include <pipewire/core.h>
#include <pipewire/global.h>
#include <pipewire/introspect.h>
@ -193,4 +195,4 @@ bool pw_node_is_enabled(struct pw_node *node);
}
#endif
#endif /* __PIPEWIRE_NODE_H__ */
#endif /* PIPEWIRE_NODE_H */