commit 5bf4674420ce4d736ccf364806f2b80e85d8f45e
parent c2a5559eb5647d98e1abcdf05393eafa9f0c572d
Author: Alexandre BIQUE <bique.alexandre@gmail.com>
Date: Tue, 21 Dec 2021 07:33:17 +0100
Move the macros in a private folder
Diffstat:
9 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/include/clap/entry.h b/include/clap/entry.h
@@ -1,7 +1,7 @@
#pragma once
#include "version.h"
-#include "macros.h"
+#include "private/macros.h"
#ifdef __cplusplus
extern "C" {
diff --git a/include/clap/fixedpoint.h b/include/clap/fixedpoint.h
@@ -2,7 +2,7 @@
#include <stdint.h>
-#include "macros.h"
+#include "private/macros.h"
/// We use fixed point representation of beat time and seconds time
/// Usage:
diff --git a/include/clap/id.h b/include/clap/id.h
@@ -2,7 +2,7 @@
#include <stdint.h>
-#include "macros.h"
+#include "private/macros.h"
typedef uint32_t clap_id;
diff --git a/include/clap/plugin-invalidation.h b/include/clap/plugin-invalidation.h
@@ -3,7 +3,7 @@
#include <stdbool.h>
#include <stdint.h>
-#include "macros.h"
+#include "private/macros.h"
static const CLAP_CONSTEXPR char CLAP_PLUGIN_INVALIDATION_ID[] = "clap.plugin-invalidation";
diff --git a/include/clap/plugin.h b/include/clap/plugin.h
@@ -1,6 +1,6 @@
#pragma once
-#include "macros.h"
+#include "private/macros.h"
#include "host.h"
#include "process.h"
diff --git a/include/clap/private/align_pop.h b/include/clap/private/align_pop.h
@@ -0,0 +1 @@
+#pragma pack(pop)
+\ No newline at end of file
diff --git a/include/clap/private/align_push.h b/include/clap/private/align_push.h
@@ -0,0 +1 @@
+#pragma pack(push, sizeof(void*))
+\ No newline at end of file
diff --git a/include/clap/macros.h b/include/clap/private/macros.h
diff --git a/include/clap/version.h b/include/clap/version.h
@@ -3,7 +3,7 @@
#include <stdbool.h>
#include <stdint.h>
-#include "macros.h"
+#include "private/macros.h"
#ifdef __cplusplus
extern "C" {