aboutsummaryrefslogtreecommitdiffstats
path: root/src/nodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nodes.h')
-rw-r--r--src/nodes.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/nodes.h b/src/nodes.h
index d1adcd7..ff9d4da 100644
--- a/src/nodes.h
+++ b/src/nodes.h
@@ -4,11 +4,11 @@
#ifndef JALV_NODES_H
#define JALV_NODES_H
+#include "attributes.h"
+
#include "lilv/lilv.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
+JALV_BEGIN_DECLS
typedef struct {
LilvNode* atom_AtomPort;
@@ -51,8 +51,6 @@ typedef struct {
LilvNode* end; ///< NULL terminator for easy freeing of entire structure
} JalvNodes;
-#ifdef __cplusplus
-} // extern "C"
-#endif
+JALV_END_DECLS
#endif // JALV_NODES_H