clap

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

commit 84cb8116063ff59e80d298979dc0861f10f1a083
parent 7c52c5657f11af38e87a8f87cfced3212562b988
Author: Alexandre Bique <bique.alexandre@gmail.com>
Date:   Mon, 31 Oct 2022 15:59:15 +0100

Merge pull request #196 from mnkisala/main

fix: make features on plugin_descriptor_t const
Diffstat:
MChangeLog.md | 3+++
Minclude/clap/plugin.h | 2+-
2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/ChangeLog.md b/ChangeLog.md @@ -1,3 +1,6 @@ +# Changes in 1.1.3 +* [plugin.h](include/clap/plugin.h) make feature list on clap_plugin_descriptor_t const + # Changes in 1.1.2 * [macros.h](include/clap/private/macros.h): add `CLAP_ABI` which defines the calling convention and use it everywhere diff --git a/include/clap/plugin.h b/include/clap/plugin.h @@ -27,7 +27,7 @@ typedef struct clap_plugin_descriptor { // They can be matched by the host indexer and used to classify the plugin. // The array of pointers must be null terminated. // For some standard features see plugin-features.h - const char **features; + const char *const *features; } clap_plugin_descriptor_t; typedef struct clap_plugin {