diff options
author | Andreas Rottmann <a.rottmann@gmx.at> | 2010-04-26 21:16:32 +0200 |
---|---|---|
committer | Andreas Rottmann <a.rottmann@gmx.at> | 2010-04-26 23:18:46 +0200 |
commit | 0c4a6322906ec5bfe595dda5c06ec06c29876c2c (patch) | |
tree | 3b39dcd7aa89ac3b3ec9db987210f4eec264cafd /libsoup/soup-address.c | |
parent | 480b6b77465515b0293367f993ce1300a0c7cb28 (diff) | |
download | libsoup-0c4a6322906ec5bfe595dda5c06ec06c29876c2c.tar.gz |
Add gobject-introspection support
- Detect gobject-introspection (g-i) in configure, using the M4 macro
from the newly-added introspection.m4. This adds
gobject-introspection as a new *optional* build dependency.
- Integrate the generation of .gir and .typelib files into the build
build process.
- Add the annotations from gir-repository to the source code.
- Include annotation glossary in "Reference Manual" main file.
See <https://bugzilla.gnome.org/show_bug.cgi?id=576595>.
Diffstat (limited to 'libsoup/soup-address.c')
-rw-r--r-- | libsoup/soup-address.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libsoup/soup-address.c b/libsoup/soup-address.c index 605a51bd..d8be7bd1 100644 --- a/libsoup/soup-address.c +++ b/libsoup/soup-address.c @@ -364,7 +364,7 @@ soup_address_new (const char *name, guint port) * Returns a #SoupAddress equivalent to @sa (or %NULL if @sa's * address family isn't supported) * - * Return value: the new #SoupAddress + * Return value: (allow-none): the new #SoupAddress **/ SoupAddress * soup_address_new_from_sockaddr (struct sockaddr *sa, int len) @@ -403,7 +403,7 @@ soup_address_new_from_sockaddr (struct sockaddr *sa, int len) * for @family (or %NULL if @family isn't supported), suitable for * passing to soup_socket_server_new(). * - * Return value: the new #SoupAddress + * Return value: (allow-none): the new #SoupAddress **/ SoupAddress * soup_address_new_any (SoupAddressFamily family, guint port) @@ -428,7 +428,7 @@ soup_address_new_any (SoupAddressFamily family, guint port) * soup_address_is_resolved() to safely test whether or not an address * is resolved before fetching its name or address. * - * Return value: the hostname, or %NULL if it is not known. + * Return value: (allow-none): the hostname, or %NULL if it is not known. **/ const char * soup_address_get_name (SoupAddress *addr) @@ -451,7 +451,7 @@ soup_address_get_name (SoupAddress *addr) * soup_address_is_resolved() to safely test whether or not an address * is resolved before fetching its name or address. * - * Return value: the sockaddr, or %NULL + * Return value: (allow-none): the sockaddr, or %NULL **/ struct sockaddr * soup_address_get_sockaddr (SoupAddress *addr, int *len) @@ -493,7 +493,7 @@ soup_address_make_inet_address (SoupAddress *addr) * soup_address_is_resolved() to safely test whether or not an address * is resolved before fetching its name or address. * - * Return value: the physical address, or %NULL + * Return value: (allow-none): the physical address, or %NULL **/ const char * soup_address_get_physical (SoupAddress *addr) @@ -672,7 +672,7 @@ idle_complete_resolve (gpointer addr) * @addr: a #SoupAddress * @async_context: the #GMainContext to call @callback from * @cancellable: a #GCancellable object, or %NULL - * @callback: callback to call with the result + * @callback: (scope async): callback to call with the result * @user_data: data for @callback * * Asynchronously resolves the missing half of @addr (its IP address |