2 commits - src/cairo-svg-glyph-render.c

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed May 15 22:11:33 UTC 2024


 src/cairo-svg-glyph-render.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit cf1b42ca7ca2bb31fe8c2862dc8a25c4136d27ed
Merge: 27c8ad5cd 877a8a482
Author: Adrian Johnson <ajohnson at redneon.com>
Date:   Wed May 15 22:11:32 2024 +0000

    Merge branch 'build-svg-fuzzer' into 'master'
    
    Mark _cairo_debug_svg_render() cairo_public
    
    See merge request cairo/cairo!548

commit 877a8a48202f532f05cc775956d21d6b08a82e29
Author: Uli Schlachter <psychon at znc.in>
Date:   Wed May 15 17:20:45 2024 +0200

    Mark _cairo_debug_svg_render() cairo_public
    
    Without this, building with
    
      CFLAGS="-DDEBUG_SVG_RENDER" meson setup path/to/source
    
    simply does not work for me:
    
        test/svg/svg-render.c:74:(.text+0x40): undefined reference to `_cairo_debug_svg_render'
        collect2: error: ld returned 1 exit status
    
    After marking this symbol as exported, this just works.
    
    Signed-off-by: Uli Schlachter <psychon at znc.in>

diff --git a/src/cairo-svg-glyph-render.c b/src/cairo-svg-glyph-render.c
index cac8a7a73..01f990060 100644
--- a/src/cairo-svg-glyph-render.c
+++ b/src/cairo-svg-glyph-render.c
@@ -3208,7 +3208,7 @@ _cairo_render_svg_glyph (const char           *svg_document,
  * @debug_level: 0 - quiet, 1 - print errors, 2 - print warnings, 3 - info
  * @return TRUE on success, ie no errors, FALSE if error
  **/
-cairo_bool_t
+cairo_public cairo_bool_t
 _cairo_debug_svg_render (cairo_t       *cr,
                          const char    *svg_document,
                          const char    *element,


More information about the cairo-commit mailing list