From: fennecdjay Date: Mon, 27 Feb 2023 11:33:39 +0000 (+0100) Subject: :wrench: Improve embed script X-Git-Tag: nightly~200 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=437e0fee07a7328c309ef1a3461a0d791557989b;p=gwion.git :wrench: Improve embed script --- diff --git a/scripts/embed.bash b/scripts/embed.bash index 6be08749..548bda6b 100644 --- a/scripts/embed.bash +++ b/scripts/embed.bash @@ -46,13 +46,13 @@ driver() { } modini() { has_func "gwmodini" "$1" "$2" && { - header "extern m_bool gwmodini_${2}(gwion);" + header "extern void *gwmodini_${2}(const Gwion, const Vector);" echo " plug->modini = gwmodini_${2};" } } modend() { has_func "gwmodend" "$1" "$2" && { - header "extern m_bool gwmodend_${2}(gwion);" + header "extern m_bool gwmodend_${2}(const Gwion gwion, void *self);" echo " plug->modend = gwmodend_${2};" } }