[cairo-commit] src/cairo.c src/cairoint.h

Jamey Sharp jamey at kemper.freedesktop.org
Sun Oct 15 17:25:20 PDT 2006


 src/cairo.c    |    1 +
 src/cairoint.h |    1 +
 2 files changed, 2 insertions(+)

New commits:
diff-tree 445251cc79d87b73a2ccd7891f9a5a33b89927a4 (from 830804c7aec0334953bdc6f4704da6d404fc030a)
Author: Jamey Sharp <jamey at minilop.net>
Date:   Sun Oct 15 17:23:58 2006 -0700

    [slim] hide cairo_version_string()
    
    Adrian's recent commits broke PLT hiding by calling cairo_version_string
    from inside cairo. Add slim_hidden_def and slim_hidden_proto for it.

diff --git a/src/cairo.c b/src/cairo.c
index 31b64d4..bd1fe8b 100644
--- a/src/cairo.c
+++ b/src/cairo.c
@@ -156,6 +156,7 @@ cairo_version_string (void)
 {
     return CAIRO_VERSION_STRING;
 }
+slim_hidden_def (cairo_version_string);
 
 /**
  * cairo_create:
diff --git a/src/cairoint.h b/src/cairoint.h
index 3832ea7..17482f5 100755
--- a/src/cairoint.h
+++ b/src/cairoint.h
@@ -2428,6 +2428,7 @@ slim_hidden_proto (cairo_surface_set_dev
 slim_hidden_proto (cairo_surface_set_fallback_resolution);
 slim_hidden_proto (cairo_surface_status);
 slim_hidden_proto (cairo_surface_write_to_png_stream);
+slim_hidden_proto (cairo_version_string);
 
 CAIRO_END_DECLS
 


More information about the cairo-commit mailing list