#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* GWDEPEND_NAME(void)
+#define GWDEPEND ANN m_str* const GWDEPEND_NAME(void)
#endif
ANN static m_bool dependencies(struct Gwion_ *gwion, const Plug plug) {
const gwdeps dep = DLSYM(plug->dl, gwdeps, GWDEPEND_NAME);
if(dep) {
- m_str *deps = dep();
+ m_str *const base = dep();
+ m_str *deps = base;
while(*deps) {
CHECK_BB(plugin_ini(gwion, *deps))
++deps;