Cleanup: simplify struct declarations
This commit is contained in:
parent
f66fa32ada
commit
c52965e9c7
|
@ -53,7 +53,7 @@
|
|||
/* For obscure full screen mode stuff
|
||||
* lifted verbatim from blut. */
|
||||
|
||||
using MotifWmHints = struct {
|
||||
struct MotifWmHints {
|
||||
long flags;
|
||||
long functions;
|
||||
long decorations;
|
||||
|
|
|
@ -3193,7 +3193,7 @@ void DepsgraphRelationBuilder::build_sound(bSound *sound)
|
|||
add_relation(parameters_key, audio_key, "Parameters -> Audio");
|
||||
}
|
||||
|
||||
using Seq_build_prop_cb_data = struct Seq_build_prop_cb_data {
|
||||
struct Seq_build_prop_cb_data {
|
||||
DepsgraphRelationBuilder *builder;
|
||||
ComponentKey sequencer_key;
|
||||
bool has_audio_strips;
|
||||
|
|
|
@ -2594,7 +2594,7 @@ void OUTLINER_OT_object_operation(wmOperatorType *ot)
|
|||
|
||||
using OutlinerDeleteFn = void (*)(bContext *C, ReportList *reports, Scene *scene, Object *ob);
|
||||
|
||||
using ObjectEditData = struct ObjectEditData {
|
||||
struct ObjectEditData {
|
||||
GSet *objects_set;
|
||||
bool is_liboverride_allowed;
|
||||
bool is_liboverride_hierarchy_root_allowed;
|
||||
|
|
|
@ -4357,7 +4357,7 @@ void WM_event_add_fileselect(bContext *C, wmOperator *op)
|
|||
/** \name Consecutive Event Access
|
||||
* \{ */
|
||||
|
||||
using wmEvent_ConsecutiveData = struct wmEvent_ConsecutiveData {
|
||||
struct wmEvent_ConsecutiveData {
|
||||
/** Owned custom-data. */
|
||||
void *custom_data;
|
||||
/** Unique identifier per struct type. */
|
||||
|
|
Loading…
Reference in New Issue