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
@@ -136,9 +136,11 @@ inactivity_job_t *inactivity_job_create(u_int32_t reqid, u_int32_t timeout,
|
||||
private_inactivity_job_t *this;
|
||||
|
||||
INIT(this,
|
||||
.public.job_interface = {
|
||||
.execute = _execute,
|
||||
.destroy = _destroy,
|
||||
.public = {
|
||||
.job_interface = {
|
||||
.execute = _execute,
|
||||
.destroy = _destroy,
|
||||
},
|
||||
},
|
||||
.reqid = reqid,
|
||||
.timeout = timeout,
|
||||
|
||||
Reference in new issue
Block a user