summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-11-07 10:55:08 -0500
committerMatthias Clasen <mclasen@redhat.com>2021-11-07 10:55:08 -0500
commitd9e7ec32d6e98d99286557a066e3dacaa3366467 (patch)
tree26ffec72bba250171d9f4e1033d69befd54a89c1
parente43df625b98cb521b478299069c91ee0facca359 (diff)
downloadpango-d9e7ec32d6e98d99286557a066e3dacaa3366467.tar.gz
Reshuffle private headers a bit
pango_itemize_with_font belongs into pango-item-private.h.
-rw-r--r--pango/pango-context-private.h10
-rw-r--r--pango/pango-context.c1
-rw-r--r--pango/pango-item-private.h18
3 files changed, 15 insertions, 14 deletions
diff --git a/pango/pango-context-private.h b/pango/pango-context-private.h
index d65406e1..71f43b60 100644
--- a/pango/pango-context-private.h
+++ b/pango/pango-context-private.h
@@ -50,16 +50,6 @@ struct _PangoContext
gboolean round_glyph_positions;
};
-GList * pango_itemize_with_font (PangoContext *context,
- PangoDirection base_dir,
- const char *text,
- int start_index,
- int length,
- PangoAttrList *attrs,
- PangoAttrIterator *cached_iter,
- const PangoFontDescription *desc);
-
-
G_END_DECLS
#endif /* __PANGO_CONTEXT_PRIVATE_H__ */
diff --git a/pango/pango-context.c b/pango/pango-context.c
index 2301138f..d0166d94 100644
--- a/pango/pango-context.c
+++ b/pango/pango-context.c
@@ -28,6 +28,7 @@
#include "pango-impl-utils.h"
#include "pango-font-private.h"
+#include "pango-item-private.h"
#include "pango-fontset-private.h"
#include "pango-fontmap-private.h"
#include "pango-script-private.h"
diff --git a/pango/pango-item-private.h b/pango/pango-item-private.h
index dd3f89fc..e80a3c02 100644
--- a/pango/pango-item-private.h
+++ b/pango/pango-item-private.h
@@ -68,10 +68,20 @@ G_STATIC_ASSERT (offsetof (PangoItem, length) == offsetof (PangoItemPrivate, len
G_STATIC_ASSERT (offsetof (PangoItem, num_chars) == offsetof (PangoItemPrivate, num_chars));
G_STATIC_ASSERT (offsetof (PangoItem, analysis) == offsetof (PangoItemPrivate, analysis));
-void pango_analysis_collect_features (const PangoAnalysis *analysis,
- hb_feature_t *features,
- guint length,
- guint *num_features);
+void pango_analysis_collect_features (const PangoAnalysis *analysis,
+ hb_feature_t *features,
+ guint length,
+ guint *num_features);
+
+GList * pango_itemize_with_font (PangoContext *context,
+ PangoDirection base_dir,
+ const char *text,
+ int start_index,
+ int length,
+ PangoAttrList *attrs,
+ PangoAttrIterator *cached_iter,
+ const PangoFontDescription *desc);
+
G_END_DECLS