From 731b1d3a6a392d49ea78025f835b23fe94ff46f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Micha=C3=ABl=20Celerier?= Date: Sat, 4 Jul 2026 22:35:19 -0400 Subject: [PATCH] clap: export the entry point as clap_entry, not clap_plugin_entry clap_entry is the symbol hosts dlsym/GetProcAddress, per clap/entry.h. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01JH7HS58wPSA22HztHZsakd --- include/avnd/binding/clap/prototype.cpp.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/avnd/binding/clap/prototype.cpp.in b/include/avnd/binding/clap/prototype.cpp.in index 5698c61c..186bdc9d 100644 --- a/include/avnd/binding/clap/prototype.cpp.in +++ b/include/avnd/binding/clap/prototype.cpp.in @@ -8,7 +8,8 @@ using plug_type = decltype(avnd::configure())::type; using effect_type = avnd_clap::SimpleAudioEffect; -AVND_EXPORTED_SYMBOL extern const struct clap_plugin_entry clap_plugin_entry = { +// clap_entry is the symbol hosts look up (see clap/entry.h). +AVND_EXPORTED_SYMBOL extern const struct clap_plugin_entry clap_entry = { CLAP_VERSION, +[] (const char* path) -> bool { /* init */ return true; }, +[] () { /* deinit */ },