clap

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

commit 3a153864142fee2701b2a11026b1a41a488a1206
parent 5723b7c0d7b7ffc1a8e53b712e53f59ec0855552
Author: Alexandre Bique <bique.alexandre@gmail.com>
Date:   Tue, 28 Jun 2022 14:19:10 +0200

Clarify initialization failure

Fixes #116

Diffstat:
Minclude/clap/entry.h | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/include/clap/entry.h b/include/clap/entry.h @@ -45,6 +45,9 @@ typedef struct clap_plugin_entry { // // If the initialization depends upon expensive computation, maybe try to do them ahead of time // and cache the result. + // + // If init() returns false, then the host must not call deinit() nor any other clap + // related symbols from the DSO. bool (*init)(const char *plugin_path); // No more calls into the DSO must be made after calling deinit().