clap

CLAP Audio Plugin API
Log | Files | Refs | README | LICENSE

commit 5d7484ebf93835755041a8f000bd32a1ddb914b5
parent 4f3aecb1576850425999ec59033d63cbebdc6b13
Author: Alexandre Bique <bique.alexandre@gmail.com>
Date:   Sat,  5 Mar 2022 22:40:56 +0100

Remove alignas()

Diffstat:
Minclude/clap/events.h | 2+-
Minclude/clap/private/std.h | 1-
2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/include/clap/events.h b/include/clap/events.h @@ -10,7 +10,7 @@ extern "C" { // event header // must be the first attribute of the event -typedef struct alignas(8) clap_event_header { +typedef struct clap_event_header { uint32_t size; // event size including this header, eg: sizeof (clap_event_note) uint32_t time; // time at which the event happens uint16_t space_id; // event space, see clap_host_event_registry diff --git a/include/clap/private/std.h b/include/clap/private/std.h @@ -7,5 +7,4 @@ # include <stddef.h> # include <stdbool.h> # include <stdint.h> -# include <stdalign.h> #endif