[librsvg] Use __GTK_DOC_IGNORE__ to ignore internal macros/functions



commit 529f521758eabd43b05079e727cc94fc72a889d4
Author: Federico Mena Quintero <federico gnome org>
Date:   Fri Jan 25 15:23:40 2019 -0600

    Use __GTK_DOC_IGNORE__ to ignore internal macros/functions

 librsvg/librsvg-features.h.in | 5 +++++
 librsvg/rsvg.h                | 6 ++++++
 2 files changed, 11 insertions(+)
---
diff --git a/librsvg/librsvg-features.h.in b/librsvg/librsvg-features.h.in
index 8950ed60..7a288f5b 100644
--- a/librsvg/librsvg-features.h.in
+++ b/librsvg/librsvg-features.h.in
@@ -22,6 +22,8 @@
 #define LIBRSVG_CHECK_FEATURE(FEATURE) (defined(LIBRSVG_HAVE_##FEATURE) && LIBRSVG_HAVE_##FEATURE)
 #endif
 
+#ifndef __GTK_DOC_IGNORE__
+
 /*
  * On Windows builds, we need to decorate variables that are exposed in the public API
  * so that they can be properly exported and linked to, for DLL builds
@@ -42,6 +44,9 @@
 # endif /* !G_PLATFORM_WIN32 */
 #endif
 
+#endif /* __GTK_DOC_IGNORE__ */
+
+
 RSVG_VAR const guint librsvg_major_version;
 RSVG_VAR const guint librsvg_minor_version;
 RSVG_VAR const guint librsvg_micro_version;
diff --git a/librsvg/rsvg.h b/librsvg/rsvg.h
index 32e9ab8c..ba5dd850 100644
--- a/librsvg/rsvg.h
+++ b/librsvg/rsvg.h
@@ -36,6 +36,8 @@
 
 G_BEGIN_DECLS
 
+#ifndef __GTK_DOC_IGNORE__
+
 #if defined(RSVG_DISABLE_DEPRECATION_WARNINGS) || !GLIB_CHECK_VERSION (2, 31, 0)
 #define RSVG_DEPRECATED
 #define RSVG_DEPRECATED_FOR(f)
@@ -44,6 +46,8 @@ G_BEGIN_DECLS
 #define RSVG_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f)
 #endif
 
+#endif /* __GTK_DOC_IGNORE__ */
+
 #define RSVG_TYPE_HANDLE                  (rsvg_handle_get_type ())
 #define RSVG_HANDLE(obj)                  (G_TYPE_CHECK_INSTANCE_CAST ((obj), RSVG_TYPE_HANDLE, RsvgHandle))
 #define RSVG_HANDLE_CLASS(klass)          (G_TYPE_CHECK_CLASS_CAST ((klass), RSVG_TYPE_HANDLE, 
RsvgHandleClass))
@@ -245,7 +249,9 @@ RsvgHandle *rsvg_handle_new_from_stream_sync (GInputStream   *input_stream,
 RsvgHandle *rsvg_handle_new_from_data (const guint8 * data, gsize data_len, GError ** error);
 RsvgHandle *rsvg_handle_new_from_file (const gchar * file_name, GError ** error);
 
+#ifndef __GTK_DOC_IGNORE__
 void rsvg_handle_internal_set_testing (RsvgHandle *handle, gboolean testing);
+#endif /* __GTK_DOC_IGNORE__ */
 
 /* BEGIN deprecated APIs. Do not use! */
 


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