summaryrefslogtreecommitdiff
path: root/pango/pango-types.h
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2016-06-06 23:44:26 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2016-06-29 17:32:00 +0800
commitce097c062ea079bf7888d2b2f1f7b17d34f976b6 (patch)
tree7727f8b7d82acd0c4e2f09ef911bbb4bc8805a11 /pango/pango-types.h
parent57964efb280369db2731bfc070f3e73c9a860d18 (diff)
downloadpango-ce097c062ea079bf7888d2b2f1f7b17d34f976b6.tar.gz
Decorate the symbols in the headers with version macros
From the last commit, decorate all the symbols with the version macros. Also add the version macros in the docs. https://bugzilla.gnome.org/show_bug.cgi?id=767587
Diffstat (limited to 'pango/pango-types.h')
-rw-r--r--pango/pango-types.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/pango/pango-types.h b/pango/pango-types.h
index 0bf4bd7d..4662c71e 100644
--- a/pango/pango-types.h
+++ b/pango/pango-types.h
@@ -25,6 +25,8 @@
#include <glib.h>
#include <glib-object.h>
+#include <pango/pango-version-macros.h>
+
G_BEGIN_DECLS
typedef struct _PangoLogAttr PangoLogAttr;
@@ -114,7 +116,9 @@ typedef guint32 PangoGlyph;
(((d) + (PANGO_SCALE >> 1)) & ~(PANGO_SCALE - 1))
+PANGO_AVAILABLE_IN_1_16
int pango_units_from_double (double d) G_GNUC_CONST;
+PANGO_AVAILABLE_IN_1_16
double pango_units_to_double (int i) G_GNUC_CONST;
@@ -184,6 +188,7 @@ struct _PangoRectangle
#define PANGO_LBEARING(rect) ((rect).x)
#define PANGO_RBEARING(rect) ((rect).x + (rect).width)
+PANGO_AVAILABLE_IN_1_16
void pango_extents_to_pixels (PangoRectangle *inclusive,
PangoRectangle *nearest);