[librsvg] Build: Add rsvg.symbols File to Export Public Symbols



commit b9e55dedc78712e3cd25ba1258c338b269baaee1
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Wed Aug 12 21:55:38 2015 +0800

    Build: Add rsvg.symbols File to Export Public Symbols
    
    This adds a rsvg.symbols file that can be preprocessed to create the
    .def file for exporting the symbols (functions) from the librsvg DLL.
    
    I do understand that there is a maintenance overhead with this, and
    this is the former way that symbol exporting was done in GLib and
    GTK+, but this is done as we are now in a stable release series,
    where we can use a __declspec(dllexport) (a.k.a visibility-based
    export mechanism) if we want in the next dev cycle.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=753555

 Makefile.am  |    3 ++-
 rsvg.symbols |   51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 382697e..8898932 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -167,7 +167,8 @@ EXTRA_DIST =                                \
        Rsvg-2.0-custom.vala            \
        Rsvg-2.0.metadata               \
        config.h.win32.in               \
-       config.h.win32
+       config.h.win32                  \
+       rsvg.symbols
 
 CLEANFILES = \
        $(enum_sources) \
diff --git a/rsvg.symbols b/rsvg.symbols
new file mode 100644
index 0000000..d224c56
--- /dev/null
+++ b/rsvg.symbols
@@ -0,0 +1,51 @@
+/* rsvg.h */
+rsvg_cleanup
+rsvg_error_quark
+rsvg_handle_close
+rsvg_handle_get_base_uri
+rsvg_handle_get_dimensions
+rsvg_handle_get_dimensions_sub
+rsvg_handle_get_position_sub
+rsvg_handle_get_pixbuf
+rsvg_handle_get_pixbuf_sub
+rsvg_handle_get_type
+rsvg_handle_has_sub
+rsvg_handle_new
+rsvg_handle_new_from_data
+rsvg_handle_new_from_file
+rsvg_handle_new_from_gfile_sync
+rsvg_handle_new_from_stream_sync
+rsvg_handle_new_with_flags
+rsvg_handle_read_stream_sync
+rsvg_handle_set_base_gfile
+rsvg_handle_set_base_uri
+rsvg_handle_set_dpi
+rsvg_handle_set_dpi_x_y
+rsvg_handle_write
+rsvg_set_default_dpi
+rsvg_set_default_dpi_x_y
+
+/* rsvg-cairo.h */
+rsvg_handle_render_cairo
+rsvg_handle_render_cairo_sub
+
+/* rsvg-css.h---semi-public for rsvg-convert */
+rsvg_css_parse_color
+
+/* librsvg-enum-types.h */
+rsvg_error_get_type
+rsvg_handle_flags_get_type
+
+/* deprecated APIs */
+rsvg_handle_free
+rsvg_handle_set_size_callback
+rsvg_init
+rsvg_pixbuf_from_file
+rsvg_pixbuf_from_file_at_max_size
+rsvg_pixbuf_from_file_at_size
+rsvg_pixbuf_from_file_at_zoom
+rsvg_pixbuf_from_file_at_zoom_with_max
+rsvg_handle_get_desc
+rsvg_handle_get_metadata
+rsvg_handle_get_title
+rsvg_term


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