clap

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

commit 663dd39135195629e2bc99087591828a0ec09729
parent 26c8310337845493eb16b08c5ed6af1dea5ecac5
Author: Alexandre BIQUE <bique.alexandre@gmail.com>
Date:   Mon, 20 Sep 2021 21:20:51 +0200

Make it constexpr

Diffstat:
Minclude/clap/id.h | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/include/clap/id.h b/include/clap/id.h @@ -2,6 +2,8 @@ #include <stdint.h> +#include "macros.h" + typedef uint32_t clap_id; -static const clap_id CLAP_INVALID_ID = UINT32_MAX; -\ No newline at end of file +static const CLAP_CONSTEXPR clap_id CLAP_INVALID_ID = UINT32_MAX; +\ No newline at end of file