clap

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

commit 8538c23e52a28954bbdf520cba4cfe6c150b65ed
parent 0ddb7a06b58a5662bec68bdef9cdbf197678c337
Author: Alexandre Bique <bique.alexandre@gmail.com>
Date:   Mon, 29 Dec 2014 12:06:34 +0100

Rename embed/disembed to attach/detach

Diffstat:
Minclude/clap/ext/embed-win32.h | 4++--
Minclude/clap/ext/embed-xlib.h | 8++++----
2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/include/clap/ext/embed-win32.h b/include/clap/ext/embed-win32.h @@ -11,8 +11,8 @@ struct clap_plugin_embed_win32 { void (*get_size)(uint32_t *width, uint32_t *height); - bool (*embed)(struct clap_plugin *plugin, HWND window); - bool (*disembed)(struct clap_plugin *plugin); + bool (*attach)(struct clap_plugin *plugin, HWND window); + bool (*detach)(struct clap_plugin *plugin); }; #endif /* !CLAP_EXT_EMBED_WIN32_H */ diff --git a/include/clap/ext/embed-xlib.h b/include/clap/ext/embed-xlib.h @@ -17,10 +17,10 @@ struct clap_plugin_embed_xlib * * Note for the host, the display_name can be retrieved from your own * display->display_name. */ - bool (*embed)(struct clap_plugin *plugin, - Window window, - const char *display_name); - bool (*disembed)(struct clap_plugin *plugin); + bool (*attach)(struct clap_plugin *plugin, + Window window, + const char *display_name); + bool (*detach)(struct clap_plugin *plugin); }; #endif /* !CLAP_EMBED_XLIB_H */