From d039660ed2dded3b93df3b6b88d314f8821bad33 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Sat, 14 Mar 2009 21:58:40 +0000 Subject: [PATCH] Add G_{BEGIN,END}_DECLS guards to public headers. 2009-03-14 Xan Lopez Add G_{BEGIN,END}_DECLS guards to public headers. * libsoup/soup-auth.h: * libsoup/soup-cookie-jar-sqlite.h: * libsoup/soup-cookie-jar-text.h: * libsoup/soup-proxy-resolver.h: svn path=/trunk/; revision=1249 --- ChangeLog | 9 +++++++++ libsoup/soup-auth.h | 4 ++++ libsoup/soup-cookie-jar-sqlite.h | 6 +++++- libsoup/soup-cookie-jar-text.h | 4 ++++ libsoup/soup-proxy-resolver.h | 4 ++++ 5 files changed, 26 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8c393ed..2fd8f75 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2009-03-14 Xan Lopez + + Add G_{BEGIN,END}_DECLS guards to public headers. + + * libsoup/soup-auth.h: + * libsoup/soup-cookie-jar-sqlite.h: + * libsoup/soup-cookie-jar-text.h: + * libsoup/soup-proxy-resolver.h: + 2009-03-11 Dan Winship * libsoup/soup-session.c (soup_session_cancel_message): add more diff --git a/libsoup/soup-auth.h b/libsoup/soup-auth.h index 4276a20..53eb16b 100644 --- a/libsoup/soup-auth.h +++ b/libsoup/soup-auth.h @@ -9,6 +9,8 @@ #include #include +G_BEGIN_DECLS + #define SOUP_TYPE_AUTH (soup_auth_get_type ()) #define SOUP_AUTH(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SOUP_TYPE_AUTH, SoupAuth)) #define SOUP_AUTH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SOUP_TYPE_AUTH, SoupAuthClass)) @@ -83,4 +85,6 @@ GSList *soup_auth_get_protection_space (SoupAuth *auth, void soup_auth_free_protection_space (SoupAuth *auth, GSList *space); +G_END_DECLS + #endif /* SOUP_AUTH_H */ diff --git a/libsoup/soup-cookie-jar-sqlite.h b/libsoup/soup-cookie-jar-sqlite.h index 2a65988..19dfbfa 100644 --- a/libsoup/soup-cookie-jar-sqlite.h +++ b/libsoup/soup-cookie-jar-sqlite.h @@ -8,6 +8,8 @@ #include +G_BEGIN_DECLS + #define SOUP_TYPE_COOKIE_JAR_SQLITE (soup_cookie_jar_sqlite_get_type ()) #define SOUP_COOKIE_JAR_SQLITE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SOUP_TYPE_COOKIE_JAR_SQLITE, SoupCookieJarSqlite)) #define SOUP_COOKIE_JAR_SQLITE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SOUP_TYPE_COOKIE_JAR_SQLITE, SoupCookieJarSqliteClass)) @@ -35,6 +37,8 @@ typedef struct { GType soup_cookie_jar_sqlite_get_type (void); SoupCookieJar *soup_cookie_jar_sqlite_new (const char *filename, - gboolean read_only); + gboolean read_only); + +G_END_DECLS #endif /* SOUP_COOKIE_JAR_SQLITE_H */ diff --git a/libsoup/soup-cookie-jar-text.h b/libsoup/soup-cookie-jar-text.h index d81a996..cc186dd 100644 --- a/libsoup/soup-cookie-jar-text.h +++ b/libsoup/soup-cookie-jar-text.h @@ -8,6 +8,8 @@ #include +G_BEGIN_DECLS + #define SOUP_TYPE_COOKIE_JAR_TEXT (soup_cookie_jar_text_get_type ()) #define SOUP_COOKIE_JAR_TEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SOUP_TYPE_COOKIE_JAR_TEXT, SoupCookieJarText)) #define SOUP_COOKIE_JAR_TEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SOUP_TYPE_COOKIE_JAR_TEXT, SoupCookieJarTextClass)) @@ -37,4 +39,6 @@ GType soup_cookie_jar_text_get_type (void); SoupCookieJar *soup_cookie_jar_text_new (const char *filename, gboolean read_only); +G_END_DECLS + #endif /* SOUP_COOKIE_JAR_TEXT_H */ diff --git a/libsoup/soup-proxy-resolver.h b/libsoup/soup-proxy-resolver.h index b50505c..f91f3e1 100644 --- a/libsoup/soup-proxy-resolver.h +++ b/libsoup/soup-proxy-resolver.h @@ -9,6 +9,8 @@ #include #include +G_BEGIN_DECLS + #define SOUP_TYPE_PROXY_RESOLVER (soup_proxy_resolver_get_type ()) #define SOUP_PROXY_RESOLVER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), SOUP_TYPE_PROXY_RESOLVER, SoupProxyResolver)) #define SOUP_PROXY_RESOLVER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SOUP_TYPE_PROXY_RESOLVER, SoupProxyResolverInterface)) @@ -46,4 +48,6 @@ guint soup_proxy_resolver_get_proxy_sync (SoupProxyResolver *proxy_resolver, GCancellable *cancellable, SoupAddress **addr); +G_END_DECLS + #endif /*SOUP_PROXY_RESOLVER_H*/ -- 2.7.4