Summary:
These constructors aren't checked for in the finalize step of the
initialization and may be given the @optional tag.
For C# this means they can be ommitted from the constructor call.
This also adds `Efl.Ui.View.model` as a constructor of
`Efl.Composite_Model` as the finalizer checks for it.
Fixes T7673
Test Plan: make check
Reviewers: segfaultxavi, zmike, bu5hm4n, cedric, felipealmeida
Reviewed By: segfaultxavi, cedric
Tags: #efl, #do_not_merge
Maniphest Tasks: T7673
Differential Revision: https://phab.enlightenment.org/D7855
Efl.Model.child_del;
}
constructors {
- .index;
+ .index @optional;
+ Efl.Ui.View.model;
}
}
Efl.Model.property { set; get; }
}
constructors {
- Efl.View_Model.children_bind;
+ Efl.View_Model.children_bind @optional;
}
}
*******/
}
constructors {
- .style;
+ .style @optional;
}
events {
moved: Efl.Object; [[Called when widget moved]]
Efl.Ui.Model.Connect.connect;
}
constructors {
- .item_class;
+ .item_class @optional;
}
-}
\ No newline at end of file
+}
//
}
constructors {
- .win_name;
- .win_type;
- .accel_preference;
+ .win_name @optional;
+ .win_type @optional;
+ .accel_preference @optional;
}
events {
delete,request: void; [[Called when the window receives a delete request]]
]]
}
constructors {
- .version_constructor;
+ .version_constructor @optional;
}
}
Efl.Object.destructor;
}
constructors {
- .model_set;
+ .model_set @optional;
}
}
Efl.Object.destructor;
}
constructors {
- .genlist_set;
+ .genlist_set @optional;
}
}