Change struct alignment for structs which are intended to be aligned but aren't.
[blender.git] / source / blender / makesrna / RNA_types.h
index 8e8a2133b8955b1478d9cc17c7f15092b08c100f..4e1177996ef0b05dd92ff1b14aa2e1d8f1c5f3c7 100644 (file)
@@ -230,8 +230,8 @@ typedef struct CollectionPropertyIterator {
        int level;
 
        /* external */
-       int valid;
        PointerRNA ptr;
+       int valid;
 } CollectionPropertyIterator;
 
 typedef struct CollectionPointerLink {
@@ -274,13 +274,13 @@ typedef struct ParameterList {
        /* storage for parameters */
        void *data;
 
+       /* function passed at creation time */
+       struct FunctionRNA *func;
+
        /* store the parameter size */
        int alloc_size;
 
        int arg_count, ret_count;
-
-       /* function passed at creation time */
-       struct FunctionRNA *func;
 } ParameterList;
 
 typedef struct ParameterIterator {