[babl] babl: make babl_space_to_icc symbol internal



commit d4f37dfb6a527da0dceda671da9eb9aa0fd3d7fa
Author: Øyvind Kolås <pippin gimp org>
Date:   Wed Jul 11 21:48:10 2018 +0200

    babl: make babl_space_to_icc symbol internal

 babl/babl-internal.h | 15 +++++++++++++++
 babl/babl.h          | 13 -------------
 export-symbols       |  1 -
 3 files changed, 15 insertions(+), 14 deletions(-)
---
diff --git a/babl/babl-internal.h b/babl/babl-internal.h
index b857a65..392d786 100644
--- a/babl/babl-internal.h
+++ b/babl/babl-internal.h
@@ -446,4 +446,19 @@ babl_conversion_process (const Babl *babl,
 void _babl_fish_rig_dispatch (Babl *babl);
 void _babl_fish_prepare_bpp (Babl *babl);
 
+
+/* babl_space_to_icc:
+ *
+ * Creates an ICCv2 RGB matrix profile for a babl space. The profiles strive to
+ * be as small and compact as possible, TRCs are stored as 1024 entry LUT(s).
+ *
+ * the result is allocated with malloc and you should free it when done.
+ */
+
+char *babl_space_to_icc (const Babl  *space,
+                         const char  *description,
+                         const char  *copyright,
+                         BablICCFlags flags,
+                         int         *icc_length);
+
 #endif
diff --git a/babl/babl.h b/babl/babl.h
index 164533b..d483249 100644
--- a/babl/babl.h
+++ b/babl/babl.h
@@ -496,19 +496,6 @@ typedef enum {
   BABL_ICC_COMPACT_TRC_LUT = 1,
 } BablICCFlags;
 
-/* babl_space_to_icc:
- *
- * Creates an ICCv2 RGB matrix profile for a babl space. The profiles strive to
- * be as small and compact as possible, TRCs are stored as 1024 entry LUT(s).
- *
- * the result is allocated with malloc and you should free it when done.
- */
-
-char *babl_space_to_icc (const Babl  *space,
-                         const char  *description,
-                         const char  *copyright,
-                         BablICCFlags flags,
-                         int         *icc_length);
 
 /* babl_space_get:
  *
diff --git a/export-symbols b/export-symbols
index 2b96e83..f9d0a1c 100644
--- a/export-symbols
+++ b/export-symbols
@@ -42,7 +42,6 @@ babl_sampling
 babl_set_user_data
 babl_space
 babl_space_from_xyz
-babl_space_to_icc
 babl_space_get_icc
 babl_chromaticities_make_space
 babl_space_get


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