From: fennecdjay Date: Mon, 27 Feb 2023 12:23:19 +0000 (+0100) Subject: :wrench: fix signatures X-Git-Tag: nightly~196 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=87796874108f59da5ad33482829a7863140f9ef0;p=gwion.git :wrench: fix signatures --- diff --git a/scripts/embed.bash b/scripts/embed.bash index 1729cd31..c6c7a021 100644 --- a/scripts/embed.bash +++ b/scripts/embed.bash @@ -46,13 +46,13 @@ driver() { } modini() { has_func "gwmodini" "$1" "$2" && { - header "extern void *gwmodini_${2}(Gwion const, Vector const);" + header "extern void *gwmodini_${2}(const struct Gwion_ *, struct Vector_ *const);" echo " plug->modini = gwmodini_${2};" } } modend() { has_func "gwmodend" "$1" "$2" && { - header "extern m_bool gwmodend_${2}(Gwion const, void *self);" + header "extern void* gwmodend_${2}(struct Gwion_ *const, void *);" echo " plug->modend = gwmodend_${2};" } }