From 2f9bbe382af4d3b974fbf5ced44f6468f5a39979 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Thu, 5 Nov 2020 16:09:15 +0100 Subject: [PATCH] :art: Improve plug API --- include/plug.h | 2 +- tests/sh/opt.sh | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/include/plug.h b/include/plug.h index a2c08e7a..bc258ac2 100644 --- a/include/plug.h +++ b/include/plug.h @@ -17,6 +17,6 @@ ANN m_bool plugin_ini(struct Gwion_ *gwion, const m_str iname); #define GWMODINI(a) ANN2(1) void* GWMODINI_NAME(const struct Gwion_ *gwion NUSED, const Vector args NUSED) #define GWMODEND(a) ANN void GWMODEND_NAME(const struct Gwion_ *gwion NUSED, void* self NUSED) #define GWDRIVER(a) ANN void GWDRIVER_NAME(DriverData* d) -#define GWDEPEND ANN m_str* const GWDEPEND_NAME(void) +#define GWDEPEND ANN m_str const* GWDEPEND_NAME(void) #endif diff --git a/tests/sh/opt.sh b/tests/sh/opt.sh index f3f42e08..4cf3e21d 100644 --- a/tests/sh/opt.sh +++ b/tests/sh/opt.sh @@ -56,9 +56,7 @@ cat << EOF > "$RC" -l0 EOF run "$n" "config" "-c$RC" "file" -./gwion -c ./tmp_gwionrc -#GWOPT="-c ./$RC" run "$n" "config" "" "file" -#rm "$RC" +rm "$RC" # loop n=$((n+1)) -- 2.43.0