[cogl/cogl.dllexport: 11/13] cogl-pango: Mark public symbols for export
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/cogl.dllexport: 11/13] cogl-pango: Mark public symbols for export
- Date: Wed, 13 Feb 2019 09:51:23 +0000 (UTC)
commit e6440b4a71b014245805a24cc7b7b32d938599f9
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Mon Feb 11 17:12:10 2019 +0800
cogl-pango: Mark public symbols for export
This way, we no longer need to rely on cogl-pango.symbols to export
symbols, simplifying maintenance.
cogl-pango/cogl-pango.h | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
---
diff --git a/cogl-pango/cogl-pango.h b/cogl-pango/cogl-pango.h
index 87128497..021becde 100644
--- a/cogl-pango/cogl-pango.h
+++ b/cogl-pango/cogl-pango.h
@@ -74,7 +74,7 @@ typedef PangoCairoFontMap CoglPangoFontMap;
*
* Since: 1.14
*/
-PangoFontMap *
+COGL_API PangoFontMap *
cogl_pango_font_map_new (void);
/**
@@ -85,7 +85,7 @@ cogl_pango_font_map_new (void);
*
* Returns: (transfer full): the newly created context: free with g_object_unref().
*/
-PangoContext *
+COGL_API PangoContext *
cogl_pango_font_map_create_context (CoglPangoFontMap *font_map);
/**
@@ -101,7 +101,7 @@ cogl_pango_font_map_create_context (CoglPangoFontMap *font_map);
*
* Since: 1.14
*/
-void
+COGL_API void
cogl_pango_font_map_set_resolution (CoglPangoFontMap *font_map,
double dpi);
@@ -113,7 +113,7 @@ cogl_pango_font_map_set_resolution (CoglPangoFontMap *font_map,
*
* Since: 1.0
*/
-void
+COGL_API void
cogl_pango_font_map_clear_glyph_cache (CoglPangoFontMap *font_map);
/**
@@ -128,7 +128,7 @@ cogl_pango_font_map_clear_glyph_cache (CoglPangoFontMap *font_map);
*
* Since: 1.0
*/
-void
+COGL_API void
cogl_pango_ensure_glyph_cache_for_layout (PangoLayout *layout);
/**
@@ -141,7 +141,7 @@ cogl_pango_ensure_glyph_cache_for_layout (PangoLayout *layout);
*
* Since: 1.0
*/
-void
+COGL_API void
cogl_pango_font_map_set_use_mipmapping (CoglPangoFontMap *font_map,
CoglBool value);
@@ -156,7 +156,7 @@ cogl_pango_font_map_set_use_mipmapping (CoglPangoFontMap *font_map,
*
* Since: 1.0
*/
-CoglBool
+COGL_API CoglBool
cogl_pango_font_map_get_use_mipmapping (CoglPangoFontMap *font_map);
/**
@@ -169,7 +169,7 @@ cogl_pango_font_map_get_use_mipmapping (CoglPangoFontMap *font_map);
*
* Since: 1.0
*/
-PangoRenderer *
+COGL_API PangoRenderer *
cogl_pango_font_map_get_renderer (CoglPangoFontMap *font_map);
/**
@@ -186,7 +186,7 @@ cogl_pango_font_map_get_renderer (CoglPangoFontMap *font_map);
*
* Since: 1.14
*/
-void
+COGL_API void
cogl_pango_show_layout (CoglFramebuffer *framebuffer,
PangoLayout *layout,
float x,
@@ -207,7 +207,7 @@ cogl_pango_show_layout (CoglFramebuffer *framebuffer,
*
* Since: 1.14
*/
-void
+COGL_API void
cogl_pango_show_layout_line (CoglFramebuffer *framebuffer,
PangoLayoutLine *line,
float x,
@@ -226,6 +226,7 @@ cogl_pango_show_layout_line (CoglFramebuffer *framebuffer,
typedef struct _CoglPangoRenderer CoglPangoRenderer;
typedef struct _CoglPangoRendererClass CoglPangoRendererClass;
+COGL_API
GType cogl_pango_renderer_get_type (void) G_GNUC_CONST;
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]