[babl] babl: rearrange BablModel struct
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [babl] babl: rearrange BablModel struct
- Date: Wed, 4 Oct 2017 14:48:30 +0000 (UTC)
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]