From 980ed010889d96be8a690c3154002148714686ac Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Mon, 27 Feb 2023 13:19:07 +0100 Subject: [PATCH] :wrench: fix signatures --- scripts/embed.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/embed.bash b/scripts/embed.bash index 9e09ac62..1729cd31 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}(const Gwion, const Vector);" + header "extern void *gwmodini_${2}(Gwion const, Vector const);" echo " plug->modini = gwmodini_${2};" } } modend() { has_func "gwmodend" "$1" "$2" && { - header "extern m_bool gwmodend_${2}(const Gwion gwion, void *self);" + header "extern m_bool gwmodend_${2}(Gwion const, void *self);" echo " plug->modend = gwmodend_${2};" } } -- 2.43.0