[introspection] Move over annotations

Move all the annotations over from gobject-introspection.

They will not be used directly by the introspection scanner for now,
instead they will be extracted by a script and updated manually
until introspection is properly integrated into the glib build
This commit is contained in:
Johan Dahlin
2010-09-24 15:51:26 -03:00
committed by Johan Dahlin
parent 0927dda8ad
commit 835f9cb310
18 changed files with 57 additions and 51 deletions

View File

@@ -239,7 +239,8 @@ g_resolver_maybe_reload (GResolver *resolver)
* address, it may be easier to create a #GNetworkAddress and use its
* #GSocketConnectable interface.
*
* Return value: a #GList of #GInetAddress, or %NULL on error. You
* Return value: (element-type GInetAddress) (transfer full): a #GList
* of #GInetAddress, or %NULL on error. You
* must unref each of the addresses and free the list when you are
* done with it. (You can use g_resolver_free_addresses() to do this.)
*
@@ -341,8 +342,9 @@ g_resolver_lookup_by_name_async (GResolver *resolver,
* a value from #GResolverError. If the operation was cancelled,
* @error will be set to %G_IO_ERROR_CANCELLED.
*
* Return value: a #GList of #GInetAddress, or %NULL on error. See
* g_resolver_lookup_by_name() for more details.
* Return value: (element-type GInetAddress) (transfer full): a #GList
* of #GInetAddress, or %NULL on error. See g_resolver_lookup_by_name()
* for more details.
*
* Since: 2.22
*/
@@ -375,7 +377,7 @@ g_resolver_lookup_by_name_finish (GResolver *resolver,
}
/**
* g_resolver_free_addresses:
* g_resolver_free_addresses: (skip)
* @addresses: a #GList of #GInetAddress
*
* Frees @addresses (which should be the return value from
@@ -545,9 +547,9 @@ g_resolver_get_service_rrname (const char *service,
* to create a #GNetworkService and use its #GSocketConnectable
* interface.
*
* Return value: a #GList of #GSrvTarget, or %NULL on error. You must
* free each of the targets and the list when you are done with it.
* (You can use g_resolver_free_targets() to do this.)
* Return value: (element-type GSrvTarget) (transfer full): a #GList of #GSrvTarget,
* or %NULL on error. You must free each of the targets and the list when you are
* done with it. (You can use g_resolver_free_targets() to do this.)
*
* Since: 2.22
*/
@@ -633,8 +635,8 @@ g_resolver_lookup_service_async (GResolver *resolver,
* a value from #GResolverError. If the operation was cancelled,
* @error will be set to %G_IO_ERROR_CANCELLED.
*
* Return value: a #GList of #GSrvTarget, or %NULL on error. See
* g_resolver_lookup_service() for more details.
* Return value: (element-type GSrvTarget) (transfer full): a #GList of #GSrvTarget,
* or %NULL on error. See g_resolver_lookup_service() for more details.
*
* Since: 2.22
*/
@@ -658,7 +660,7 @@ g_resolver_lookup_service_finish (GResolver *resolver,
}
/**
* g_resolver_free_targets:
* g_resolver_free_targets: (skip)
* @targets: a #GList of #GSrvTarget
*
* Frees @targets (which should be the return value from