From: fennecdjay Date: Thu, 5 Nov 2020 15:09:15 +0000 (+0100) Subject: :art: Improve plug API X-Git-Tag: nightly~1209 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=2f9bbe382af4d3b974fbf5ced44f6468f5a39979;p=gwion.git :art: Improve plug API --- 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))