clap

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

commit 0efc795adecd7e989ecd7fb298adbb57aec87ffe
parent 08c43d6508931c63f3e5d4ce2bbfb421e1547a1f
Author: Dalton Messmer <33463986+messmerd@users.noreply.github.com>
Date:   Fri,  3 Nov 2023 00:07:27 -0400

Use single-line comments in gui.h
Diffstat:
Minclude/clap/ext/gui.h | 30+++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/include/clap/ext/gui.h b/include/clap/ext/gui.h @@ -204,25 +204,25 @@ typedef struct clap_host_gui { // [thread-safe & !floating] void(CLAP_ABI *resize_hints_changed)(const clap_host_t *host); - /* Request the host to resize the client area to width, height. - * Return true if the new size is accepted, false otherwise. - * The host doesn't have to call set_size(). - * - * Note: if not called from the main thread, then a return value simply means that the host - * acknowledged the request and will process it asynchronously. If the request then can't be - * satisfied then the host will call set_size() to revert the operation. - * - * [thread-safe & !floating] */ + // Request the host to resize the client area to width, height. + // Return true if the new size is accepted, false otherwise. + // The host doesn't have to call set_size(). + // + // Note: if not called from the main thread, then a return value simply means that the host + // acknowledged the request and will process it asynchronously. If the request then can't be + // satisfied then the host will call set_size() to revert the operation. + // + // [thread-safe & !floating] bool(CLAP_ABI *request_resize)(const clap_host_t *host, uint32_t width, uint32_t height); - /* Request the host to show the plugin gui. - * Return true on success, false otherwise. - * [thread-safe] */ + // Request the host to show the plugin gui. + // Return true on success, false otherwise. + // [thread-safe] bool(CLAP_ABI *request_show)(const clap_host_t *host); - /* Request the host to hide the plugin gui. - * Return true on success, false otherwise. - * [thread-safe] */ + // Request the host to hide the plugin gui. + // Return true on success, false otherwise. + // [thread-safe] bool(CLAP_ABI *request_hide)(const clap_host_t *host); // The floating window has been closed, or the connection to the gui has been lost.