[babl] babl: rearrange BablModel struct



commit d02749a0825a37d621febda1602ee75ae151f4d0
Author: Øyvind Kolås <pippin gimp org>
Date:   Wed Oct 4 16:47:39 2017 +0200

    babl: rearrange BablModel struct
    
    Babl is doing casting that relies on BablFormat / BablModel having the same
    layout for shared members.

 babl/babl-model.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/babl/babl-model.h b/babl/babl-model.h
index 96ff903..0862379 100644
--- a/babl/babl-model.h
+++ b/babl/babl-model.h
@@ -30,8 +30,8 @@ typedef struct
   BablType        **type; /*< must be doubles,
                               used here for convenience in code */
   void             *data;    /* user-data, used for palette */
-  void             *model;   /* back pointer to model with sRGB space */
   const Babl       *space;
+  void             *model;   /* back pointer to model with sRGB space */
 } BablModel;
 
 #endif


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]