From da93bdd3e9ba54fdaa8c0c081b80a7fa97b3b291 Mon Sep 17 00:00:00 2001 From: falkTX Date: Mon, 8 May 2023 23:35:56 +0200 Subject: [PATCH] Fix clap discovery for MSVC Signed-off-by: falkTX --- source/discovery/carla-discovery.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/discovery/carla-discovery.cpp b/source/discovery/carla-discovery.cpp index 64eca858f..ac837d62a 100644 --- a/source/discovery/carla-discovery.cpp +++ b/source/discovery/carla-discovery.cpp @@ -1883,23 +1883,23 @@ struct carla_clap_host : clap_host_t { request_callback = carla_request_callback; } - static CLAP_ABI const void* carla_get_extension(const clap_host_t* const host, const char* const extension_id) + static const void* CLAP_ABI carla_get_extension(const clap_host_t* const host, const char* const extension_id) { carla_stdout("carla_get_extension %p %s", host, extension_id); return nullptr; } - static CLAP_ABI void carla_request_restart(const clap_host_t* const host) + static void CLAP_ABI carla_request_restart(const clap_host_t* const host) { carla_stdout("carla_request_restart %p", host); } - static CLAP_ABI void carla_request_process(const clap_host_t* const host) + static void CLAP_ABI carla_request_process(const clap_host_t* const host) { carla_stdout("carla_request_process %p", host); } - static CLAP_ABI void carla_request_callback(const clap_host_t* const host) + static void CLAP_ABI carla_request_callback(const clap_host_t* const host) { carla_stdout("carla_request_callback %p", host); }