summaryrefslogtreecommitdiff
path: root/girepository/gitypelib-internal.h
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2014-07-04 18:18:32 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2014-08-15 09:45:41 +0800
commit94380459c1e33c0f47a7f21a3608d7966aaf9208 (patch)
treebb539aaae0e903289c62a3407d79b140d33e0f94 /girepository/gitypelib-internal.h
parent4bfe7f1da88c6bd73cc51666a13840661ab9edb1 (diff)
downloadgobject-introspection-94380459c1e33c0f47a7f21a3608d7966aaf9208.tar.gz
girepository: Add Header for Version Macros
This adds a header to the girepository library, which is then included either directly or indirectly by the other headers so that all the public symbols (and the 2 symbols in gitypelib-internal.h used by the tools) are decorated by a macro, that can later be used to export the symbols and also to be used to display compile-time warnings for usage of deprecated APIs, which is like what is now being done in GLib (and GTK+, Clutter, and so on). This marks the first step that we begin to stop depending on the .symbols/ .def files to export the symbols. https://bugzilla.gnome.org/show_bug.cgi?id=732669
Diffstat (limited to 'girepository/gitypelib-internal.h')
-rw-r--r--girepository/gitypelib-internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/girepository/gitypelib-internal.h b/girepository/gitypelib-internal.h
index 5ccb6173..e367cfa6 100644
--- a/girepository/gitypelib-internal.h
+++ b/girepository/gitypelib-internal.h
@@ -1217,6 +1217,8 @@ DirEntry *g_typelib_get_dir_entry_by_error_domain (GITypelib *typelib,
gboolean g_typelib_matches_gtype_name_prefix (GITypelib *typelib,
const gchar *gtype_name);
+
+GI_AVAILABLE_IN_ALL
void g_typelib_check_sanity (void);
/**
@@ -1259,6 +1261,8 @@ typedef enum
GQuark g_typelib_error_quark (void);
+
+GI_AVAILABLE_IN_ALL
gboolean g_typelib_validate (GITypelib *typelib,
GError **error);