Use a seperate section for each nested struct member in INIT macro
This commit is contained in:
@@ -142,7 +142,11 @@ plugin_t *ha_plugin_create()
|
||||
}
|
||||
|
||||
INIT(this,
|
||||
.public.plugin.destroy = _destroy,
|
||||
.public = {
|
||||
.plugin = {
|
||||
.destroy = _destroy,
|
||||
},
|
||||
},
|
||||
);
|
||||
|
||||
if (secret)
|
||||
|
||||
Reference in New Issue
Block a user