[pango/kill-ft-face] Deprecate some coverage api
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/kill-ft-face] Deprecate some coverage api
- Date: Thu, 11 Jul 2019 22:23:12 +0000 (UTC)
commit 703a9342a7a0816176004522b4818131b9ff72ef
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Jul 11 18:22:31 2019 -0400
Deprecate some coverage api
These parts are not used in Pango, and
are not implemented on top of harfbuzz.
pango/pango-coverage.c | 6 ++++++
pango/pango-coverage.h | 6 +++---
2 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/pango/pango-coverage.c b/pango/pango-coverage.c
index f06517d4..3cfc0f09 100644
--- a/pango/pango-coverage.c
+++ b/pango/pango-coverage.c
@@ -172,6 +172,8 @@ pango_coverage_set (PangoCoverage *coverage,
* Set the coverage for each index in @coverage to be the max (better)
* value of the current coverage for the index and the coverage for
* the corresponding index in @other.
+ *
+ * Deprecated: 1.44: This function does nothing
**/
void
pango_coverage_max (PangoCoverage *coverage,
@@ -187,6 +189,8 @@ pango_coverage_max (PangoCoverage *coverage,
* @n_bytes: (out): location to store size of result
*
* Convert a #PangoCoverage structure into a flat binary format
+ *
+ * Deprecated: 1.44: This returns %NULL
**/
void
pango_coverage_to_bytes (PangoCoverage *coverage,
@@ -208,6 +212,8 @@ pango_coverage_to_bytes (PangoCoverage *coverage,
*
* Return value: (transfer full) (nullable): a newly allocated
* #PangoCoverage, or %NULL if the data was invalid.
+ *
+ * Deprecated: 1.44: This returns %NULL
**/
PangoCoverage *
pango_coverage_from_bytes (guchar *bytes,
diff --git a/pango/pango-coverage.h b/pango/pango-coverage.h
index 5fe81e02..60f7c057 100644
--- a/pango/pango-coverage.h
+++ b/pango/pango-coverage.h
@@ -74,15 +74,15 @@ PANGO_AVAILABLE_IN_ALL
void pango_coverage_set (PangoCoverage *coverage,
int index_,
PangoCoverageLevel level);
-PANGO_AVAILABLE_IN_ALL
+PANGO_DEPRECATED_IN_1_44
void pango_coverage_max (PangoCoverage *coverage,
PangoCoverage *other);
-PANGO_AVAILABLE_IN_ALL
+PANGO_DEPRECATED_IN_1_44
void pango_coverage_to_bytes (PangoCoverage *coverage,
guchar **bytes,
int *n_bytes);
-PANGO_AVAILABLE_IN_ALL
+PANGO_DEPRECATED_IN_1_44
PangoCoverage *pango_coverage_from_bytes (guchar *bytes,
int n_bytes);
PANGO_AVAILABLE_IN_1_44
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]