clap

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

commit a76d121fd6feb7cf50f1b244d6e318fb1bb6c000
parent 89b91e3a418055a4e850575c015ef2636993961d
Author: Alexandre Bique <bique.alexandre@gmail.com>
Date:   Mon, 20 Oct 2014 18:28:01 +0200

Make extension a bit more flexible

Diffstat:
Minclude/clap/clap.h | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/clap/clap.h b/include/clap/clap.h @@ -286,7 +286,7 @@ struct clap_host uint64_t (*steady_time)(struct clap_host *host); /* future features */ - void *(*extension)(struct clap_host *host, const char *extention_id); + void *(*extension)(struct clap_host *host, const char *extention_id, void *ptr); }; //////////// @@ -375,7 +375,7 @@ struct clap_plugin void (*restore)(struct clap_plugin *plugin, const void *buffer, size_t size); /* future features */ - void *(*extension)(struct clap_plugin *plugin, const char *extention_id); + void *(*extension)(struct clap_plugin *plugin, const char *extention_id, void *ptr); }; /* typedef for dlsym() cast */