Use a seperate section for each nested struct member in INIT macro
This commit is contained in:
1 parent
53115857ae
commit
ba31fe1fd6
77 files changed
+615
-448
No files matched your search
@@ -53,7 +53,11 @@ plugin_t *socket_default_plugin_create()
|
||||
private_socket_default_plugin_t *this;
|
||||
|
||||
INIT(this,
|
||||
.public.plugin.destroy = _destroy,
|
||||
.public = {
|
||||
.plugin = {
|
||||
.destroy = _destroy,
|
||||
},
|
||||
},
|
||||
.socket = socket_default_socket_create(),
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user