summaryrefslogtreecommitdiff
path: root/tests/doctool/GIRepository-2.0-Python-expected
diff options
context:
space:
mode:
Diffstat (limited to 'tests/doctool/GIRepository-2.0-Python-expected')
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ArgInfo.page3
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ArrayType.page27
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.AttributeIter.page7
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.equal.page37
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_attribute.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_container.page26
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_name.page26
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_namespace.page24
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_typelib.page24
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.is_deprecated.page24
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.iterate_attributes.page51
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.page57
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.ref.page24
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.unref.page20
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.CallableInfo.page5
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.CallbackInfo.page3
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ConstantInfo.page3
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Direction.page23
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.EnumInfo.page3
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FieldInfo.page3
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FieldInfoFlags.page3
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FunctionInfo.page3
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FunctionInfoFlags.page3
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.InfoType.page91
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.InterfaceInfo.page3
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfo.page3
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoGetValueFunction.page3
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoRefFunction.page3
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoSetValueFunction.page3
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoUnrefFunction.page3
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.PropertyInfo.page3
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RegisteredTypeInfo.page3
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.dump.page40
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.enumerate_versions.page37
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.error_quark.page31
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_error_domain.page38
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_gtype.page37
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_name.page45
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_c_prefix.page37
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_default.page39
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_dependencies.page37
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_info.page45
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_loaded_namespaces.page28
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_n_infos.page37
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_option_group.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_search_path.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_shared_library.page39
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_typelib_path.page37
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_version.page37
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.is_registered.page45
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.load_typelib.page43
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.page28
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.prepend_search_path.page36
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.require.page53
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.require_private.page61
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryClass.page3
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryError.page25
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryLoadFlags.page3
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryPrivate.page11
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ScopeType.page29
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.SignalInfo.page3
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.StructInfo.page3
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Transfer.page27
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.TypeInfo.page3
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.TypeTag.page99
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Typelib.free.page11
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Typelib.get_namespace.page11
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Typelib.page11
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Typelib.symbol.page11
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.UnionInfo.page3
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.UnresolvedInfo.page11
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.VFuncInfo.page3
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.VFuncInfoFlags.page3
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ValueInfo.page3
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository._Argument.page1
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository._BaseInfoStub.page3
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_closure.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_destroy.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_direction.page35
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_ownership_transfer.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_scope.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_type.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_caller_allocates.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_optional.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_return_value.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_skip.page34
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_load_type.page37
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_may_be_null.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.base_info_get_type.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_arg.page41
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_caller_owns.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_n_args.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_return_attribute.page41
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_return_type.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_iterate_return_attributes.page59
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_load_arg.page45
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_load_return_type.page37
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_may_return_null.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_skip_return.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.constant_info_free_value.page45
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.constant_info_get_type.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.constant_info_get_value.page44
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_error_domain.page31
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_method.page49
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_n_methods.page41
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_n_values.page31
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_storage_type.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_value.page41
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_field.page49
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_flags.page35
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_offset.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_size.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_type.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_set_field.page49
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_flags.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_property.page37
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_symbol.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_vfunc.page37
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_invoke.page73
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.info_new.page55
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.info_type_to_string.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_find_method.page43
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_find_vfunc.page41
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_constant.page41
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_iface_struct.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_method.page41
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_constants.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_methods.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_prerequisites.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_properties.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_signals.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_vfuncs.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_prerequisite.page41
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_property.page41
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_signal.page41
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_vfunc.page41
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.invoke_error_quark.page22
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.nvokeError.page25
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_method.page43
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_method_using_interfaces.page51
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_signal.page39
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_vfunc.page43
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_abstract.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_class_struct.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_constant.page41
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_field.page41
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_fundamental.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_get_value_function.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_get_value_function_pointer.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_interface.page41
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_method.page41
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_constants.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_fields.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_interfaces.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_methods.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_properties.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_signals.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_vfuncs.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_parent.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_property.page41
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_ref_function.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_ref_function_pointer.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_set_value_function.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_set_value_function_pointer.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_signal.page41
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_type_init.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_type_name.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_unref_function.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_unref_function_pointer.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_vfunc.page41
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.property_info_get_flags.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.property_info_get_ownership_transfer.page35
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.property_info_get_type.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.registered_type_info_get_g_type.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.registered_type_info_get_type_init.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.registered_type_info_get_type_name.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.signal_info_get_class_closure.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.signal_info_get_flags.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.signal_info_true_stops_emit.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_find_method.page41
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_alignment.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_field.page41
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_method.page41
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_n_fields.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_n_methods.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_size.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_is_foreign.page31
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_is_gtype_struct.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_array_fixed_size.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_array_length.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_array_type.page35
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_interface.page35
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_param_type.page41
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_tag.page35
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_is_pointer.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_is_zero_terminated.page35
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_tag_to_string.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_find_method.page41
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_alignment.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_discriminator.page41
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_discriminator_offset.page31
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_discriminator_type.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_field.page41
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_method.page41
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_n_fields.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_n_methods.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_size.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_is_discriminated.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.value_info_get_value.page35
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_address.page41
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_flags.page35
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_invoker.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_offset.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_signal.page33
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_invoke.page81
215 files changed, 6307 insertions, 497 deletions
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ArgInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ArgInfo.page
index c804fe08..8cddb854 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ArgInfo.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ArgInfo.page
@@ -7,4 +7,5 @@
<info>
</info>
<title>GIRepository.ArgInfo</title>
-<p>Represents an argument.</p></page>
+<p>Represents an argument.</p>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ArrayType.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ArrayType.page
index 31a1f19e..876ab63c 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ArrayType.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ArrayType.page
@@ -1,10 +1,31 @@
<?xml version="1.0"?>
<page id="GIRepository.ArrayType"
- type="topic"
- style=""
+ type="guide"
+ style="enum"
xmlns="http://projectmallard.org/1.0/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
+ <link type="guide" xref="index"/>
</info>
<title>GIRepository.ArrayType</title>
-<p>The type of array in a <link xref="GITypeInfo">GITypeInfo</link>.</p></page>
+ <p>The type of array in a <link xref="GIRepository.TypeInfo">GIRepository.TypeInfo</link>.</p>
+<table>
+<tr>
+<td><p>ArrayType.C :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>ArrayType.ARRAY :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>ArrayType.PTR_ARRAY :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>ArrayType.BYTE_ARRAY :</p></td>
+<td></td>
+</tr>
+</table>
+
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.AttributeIter.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.AttributeIter.page
index 39cc3306..6ee6932c 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.AttributeIter.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.AttributeIter.page
@@ -7,6 +7,7 @@
<info>
<link type="guide" xref="index"/>
</info>
- <title>GIRepository.AttributeIter</title>
-<p>An opaque structure used to iterate over attributes
-in a <link xref="GIBaseInfo">GIBaseInfo</link> struct.</p></page>
+ <title>GIRepositoryAttributeIter</title>
+ <p>An opaque structure used to iterate over attributes
+in a #GIBaseInfo struct.</p>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.equal.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.equal.page
index d650f813..e7e329fc 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.equal.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.equal.page
@@ -1,13 +1,42 @@
<?xml version="1.0"?>
+
<page id="GIRepository.BaseInfo.equal"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="GIRepository.BaseInfo" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gboolean</api:type>
+ </api:returns>
+ <api:name>g_base_info_equal</api:name>
+ <api:arg>
+ <api:type>GIRepository.BaseInfo</api:type>
+ <api:name>info2</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.equal</title>
-<p>Compare two <link xref="GIBaseInfo">GIBaseInfo</link>.</p><p>Using pointer comparison is not practical since many functions return
-different instances of <link xref="GIBaseInfo">GIBaseInfo</link> that refers to the same part of the
-TypeLib; use this function instead to do <link xref="GIBaseInfo">GIBaseInfo</link> comparisons.</p></page>
+ <title>equal</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.BaseInfo)
+@returns(gboolean)
+def equal(info2)
+</code></synopsis>
+<p>Compare two <link xref="GIRepository.BaseInfo">GIRepository.BaseInfo</link>.</p><p>Using pointer comparison is not practical since many functions return
+different instances of <link xref="GIRepository.BaseInfo">GIRepository.BaseInfo</link> that refers to the same part of the
+TypeLib; use this function instead to do <link xref="GIRepository.BaseInfo">GIRepository.BaseInfo</link> comparisons.</p>
+
+<table>
+<tr>
+<td><p>info2 :</p></td>
+<td><p>a <link xref="GIRepository.BaseInfo">GIRepository.BaseInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>True if and only if @info1 equals @info2.</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_attribute.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_attribute.page
index 4979c514..3af42049 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_attribute.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_attribute.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.BaseInfo.get_attribute"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="GIRepository.BaseInfo" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>utf8</api:type>
+ </api:returns>
+ <api:name>g_base_info_get_attribute</api:name>
+ <api:arg>
+ <api:type>utf8</api:type>
+ <api:name>name</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.get_attribute</title>
-<p>Retrieve an arbitrary attribute associated with this node.</p></page>
+ <title>get_attribute</title>
+<synopsis><code mime="text/x-python">
+@accepts(utf8)
+@returns(utf8)
+def get_attribute(name)
+</code></synopsis>
+<p>Retrieve an arbitrary attribute associated with this node.</p>
+
+<table>
+<tr>
+<td><p>name :</p></td>
+<td><p>a freeform string naming an attribute</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>The value of the attribute, or None if no such attribute exists</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_container.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_container.page
index 1fb285f7..c529cb1c 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_container.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_container.page
@@ -1,13 +1,33 @@
<?xml version="1.0"?>
+
<page id="GIRepository.BaseInfo.get_container"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="GIRepository.BaseInfo" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.BaseInfo</api:type>
+ </api:returns>
+ <api:name>g_base_info_get_container</api:name>
+ </api:function>
</info>
- <title>GIRepository.get_container</title>
+ <title>get_container</title>
+<synopsis><code mime="text/x-python">
+@returns(GIRepository.BaseInfo)
+def get_container()
+</code></synopsis>
<p>Obtain the container of the @info. The container is the parent
-GIBaseInfo. For instance, the parent of a <link xref="GIFunctionInfo">GIFunctionInfo</link> is an
-<link xref="GIObjectInfo">GIObjectInfo</link> or <link xref="GIInterfaceInfo">GIInterfaceInfo</link>.</p></page>
+GIBaseInfo. For instance, the parent of a <link xref="GIRepository.FunctionInfo">GIRepository.FunctionInfo</link> is an
+<link xref="GIRepository.ObjectInfo">GIRepository.ObjectInfo</link> or <link xref="GIRepository.InterfaceInfo">GIRepository.InterfaceInfo</link>.</p>
+
+<table>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the container</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_name.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_name.page
index 7ac3a14f..5ec55809 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_name.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_name.page
@@ -1,13 +1,33 @@
<?xml version="1.0"?>
+
<page id="GIRepository.BaseInfo.get_name"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="GIRepository.BaseInfo" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>utf8</api:type>
+ </api:returns>
+ <api:name>g_base_info_get_name</api:name>
+ </api:function>
</info>
- <title>GIRepository.get_name</title>
+ <title>get_name</title>
+<synopsis><code mime="text/x-python">
+@returns(utf8)
+def get_name()
+</code></synopsis>
<p>Obtain the name of the @info. What the name represents depends on
-the <link xref="GIInfoType">GIInfoType</link> of the @info. For instance for <link xref="GIFunctionInfo">GIFunctionInfo</link> it is
-the name of the function.</p></page>
+the <link xref="GIRepository.InfoType">GIRepository.InfoType</link> of the @info. For instance for <link xref="GIRepository.FunctionInfo">GIRepository.FunctionInfo</link> it is
+the name of the function.</p>
+
+<table>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the name of @info or None if it lacks a name.</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_namespace.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_namespace.page
index b66409c1..ea8ba89e 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_namespace.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_namespace.page
@@ -1,11 +1,31 @@
<?xml version="1.0"?>
+
<page id="GIRepository.BaseInfo.get_namespace"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="GIRepository.BaseInfo" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>utf8</api:type>
+ </api:returns>
+ <api:name>g_base_info_get_namespace</api:name>
+ </api:function>
</info>
- <title>GIRepository.get_namespace</title>
-<p>Obtain the namespace of @info.</p></page>
+ <title>get_namespace</title>
+<synopsis><code mime="text/x-python">
+@returns(utf8)
+def get_namespace()
+</code></synopsis>
+<p>Obtain the namespace of @info.</p>
+
+<table>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the namespace</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_typelib.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_typelib.page
index b856a222..d20244d1 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_typelib.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_typelib.page
@@ -1,11 +1,31 @@
<?xml version="1.0"?>
+
<page id="GIRepository.BaseInfo.get_typelib"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="GIRepository.BaseInfo" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.Typelib</api:type>
+ </api:returns>
+ <api:name>g_base_info_get_typelib</api:name>
+ </api:function>
</info>
- <title>GIRepository.get_typelib</title>
-<p>Obtain the typelib this @info belongs to</p></page>
+ <title>get_typelib</title>
+<synopsis><code mime="text/x-python">
+@returns(GIRepository.Typelib)
+def get_typelib()
+</code></synopsis>
+<p>Obtain the typelib this @info belongs to</p>
+
+<table>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the typelib.</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.is_deprecated.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.is_deprecated.page
index f7c24a3b..77de6227 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.is_deprecated.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.is_deprecated.page
@@ -1,12 +1,32 @@
<?xml version="1.0"?>
+
<page id="GIRepository.BaseInfo.is_deprecated"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="GIRepository.BaseInfo" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gboolean</api:type>
+ </api:returns>
+ <api:name>g_base_info_is_deprecated</api:name>
+ </api:function>
</info>
- <title>GIRepository.is_deprecated</title>
+ <title>is_deprecated</title>
+<synopsis><code mime="text/x-python">
+@returns(gboolean)
+def is_deprecated()
+</code></synopsis>
<p>Obtain whether the @info is represents a metadata which is
-deprecated or not.</p></page>
+deprecated or not.</p>
+
+<table>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>True if deprecated</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.iterate_attributes.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.iterate_attributes.page
index 5b9bf3b5..9ef317d0 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.iterate_attributes.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.iterate_attributes.page
@@ -1,16 +1,41 @@
<?xml version="1.0"?>
+
<page id="GIRepository.BaseInfo.iterate_attributes"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="GIRepository.BaseInfo" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gboolean</api:type>
+ </api:returns>
+ <api:name>g_base_info_iterate_attributes</api:name>
+ <api:arg>
+ <api:type>GIRepository.AttributeIter</api:type>
+ <api:name>iterator</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>utf8</api:type>
+ <api:name>name</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>utf8</api:type>
+ <api:name>value</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.iterate_attributes</title>
+ <title>iterate_attributes</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.AttributeIter, utf8, utf8)
+@returns(gboolean)
+def iterate_attributes(iterator, name, value)
+</code></synopsis>
<p>Iterate over all attributes associated with this node. The iterator
structure is typically stack allocated, and must have its first
-member initialized to %NULL.</p><p>Both the @name and @value should be treated as constants
+member initialized to None.</p><p>Both the @name and @value should be treated as constants
and must not be freed.</p><p>&lt;example&gt;
&lt;title&gt;Iterating over attributes&lt;/title&gt;
&lt;programlisting&gt;
@@ -26,4 +51,24 @@ g_print ("attribute name: %s value: %s", name, value);
}
}
&lt;/programlisting&gt;
-&lt;/example&gt;</p></page>
+&lt;/example&gt;</p>
+
+<table>
+<tr>
+<td><p>iterator :</p></td>
+<td><p>a <link xref="GIRepository.AttributeIter">GIRepository.AttributeIter</link> structure, must be initialized; see below</p></td>
+</tr>
+<tr>
+<td><p>name :</p></td>
+<td><p>Returned name, must not be freed</p></td>
+</tr>
+<tr>
+<td><p>value :</p></td>
+<td><p>Returned name, must not be freed</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>True if there are more attributes</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.page
index 8bb5fcdc..055334f0 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.page
@@ -7,37 +7,42 @@
<info>
<link type="guide" xref="index"/>
</info>
- <title>GIRepository.BaseInfo</title>
-<p>GIBaseInfo is the common base struct of all other *Info structs
-accessible through the <link xref="GIRepository">GIRepository</link> API.
-All other structs can be casted to a <link xref="GIBaseInfo">GIBaseInfo</link>, for instance:
-&lt;example&gt;
-&lt;title&gt;Casting a <link xref="GIFunctionInfo">GIFunctionInfo</link> to <link xref="GIBaseInfo">GIBaseInfo</link>&lt;/title&gt;
-&lt;programlisting&gt;
+ <title>GIRepositoryBaseInfo</title>
+ <p>GIBaseInfo is the common base struct of all other *Info structs
+accessible through the #GIRepository API.
+All other structs can be casted to a #GIBaseInfo, for instance:
+<example>
+<title>Casting a #GIFunctionInfo to #GIBaseInfo</title>
+<programlisting>
GIFunctionInfo *function_info = ...;
GIBaseInfo *info = (GIBaseInfo*)function_info;
-&lt;/programlisting&gt;
-&lt;/example&gt;
-Most <link xref="GIRepository">GIRepository</link> APIs returning a <link xref="GIBaseInfo">GIBaseInfo</link> is actually creating a new struct, in other
+</programlisting>
+</example>
+Most #GIRepository APIs returning a #GIBaseInfo is actually creating a new struct, in other
words, g_base_info_unref() has to be called when done accessing the data.
GIBaseInfos are normally accessed by calling either
-g_irepository_find_by_name(), g_irepository_find_by_gtype() or g_irepository_get_info().</p><p>&lt;example&gt;
-&lt;title&gt;Getting the Button of the Gtk typelib&lt;/title&gt;
-&lt;programlisting&gt;
+g_irepository_find_by_name(), g_irepository_find_by_gtype() or g_irepository_get_info().
+
+<example>
+<title>Getting the Button of the Gtk typelib</title>
+<programlisting>
GIBaseInfo *button_info = g_irepository_find_by_name(NULL, "Gtk", "Button");
... use button_info ...
g_base_info_unref(button_info);
-&lt;/programlisting&gt;
-&lt;/example&gt;</p><p>&lt;refsect1 id="gi-gibaseinfo.struct-hierarchy" role="struct_hierarchy"&gt;
-&lt;title role="struct_hierarchy.title"&gt;Struct hierarchy&lt;/title&gt;
-&lt;synopsis&gt;
+</programlisting>
+</example>
+
+<refsect1 id="gi-gibaseinfo.struct-hierarchy" role="struct_hierarchy">
+<title role="struct_hierarchy.title">Struct hierarchy</title>
+<synopsis>
GIBaseInfo
-+----&lt;link linkend="gi-GIArgInfo"&gt;GIArgInfo&lt;/link&gt;
-+----&lt;link linkend="gi-GICallableInfo"&gt;GICallableInfo&lt;/link&gt;
-+----&lt;link linkend="gi-GIConstantInfo"&gt;GIConstantInfo&lt;/link&gt;
-+----&lt;link linkend="gi-GIFieldInfo"&gt;GIFieldInfo&lt;/link&gt;
-+----&lt;link linkend="gi-GIPropertyInfo"&gt;GIPropertyInfo&lt;/link&gt;
-+----&lt;link linkend="gi-GIRegisteredTypeInfo"&gt;GIRegisteredTypeInfo&lt;/link&gt;
-+----&lt;link linkend="gi-GITypeInfo"&gt;GITypeInfo&lt;/link&gt;
-&lt;/synopsis&gt;
-&lt;/refsect1&gt;</p></page>
++----<link linkend="gi-GIArgInfo">GIArgInfo</link>
++----<link linkend="gi-GICallableInfo">GICallableInfo</link>
++----<link linkend="gi-GIConstantInfo">GIConstantInfo</link>
++----<link linkend="gi-GIFieldInfo">GIFieldInfo</link>
++----<link linkend="gi-GIPropertyInfo">GIPropertyInfo</link>
++----<link linkend="gi-GIRegisteredTypeInfo">GIRegisteredTypeInfo</link>
++----<link linkend="gi-GITypeInfo">GITypeInfo</link>
+</synopsis>
+</refsect1></p>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.ref.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.ref.page
index 0b81c1d7..32b20f40 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.ref.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.ref.page
@@ -1,11 +1,31 @@
<?xml version="1.0"?>
+
<page id="GIRepository.BaseInfo.ref"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="GIRepository.BaseInfo" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.BaseInfo</api:type>
+ </api:returns>
+ <api:name>g_base_info_ref</api:name>
+ </api:function>
</info>
- <title>GIRepository.ref</title>
-<p>Increases the reference count of @info.</p></page>
+ <title>ref</title>
+<synopsis><code mime="text/x-python">
+@returns(GIRepository.BaseInfo)
+def ref()
+</code></synopsis>
+<p>Increases the reference count of @info.</p>
+
+<table>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the same @info.</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.unref.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.unref.page
index 5abc2ada..0c3e3c54 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.unref.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.unref.page
@@ -1,12 +1,28 @@
<?xml version="1.0"?>
+
<page id="GIRepository.BaseInfo.unref"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="GIRepository.BaseInfo" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>none</api:type>
+ </api:returns>
+ <api:name>g_base_info_unref</api:name>
+ </api:function>
</info>
- <title>GIRepository.unref</title>
+ <title>unref</title>
+<synopsis><code mime="text/x-python">
+@returns(none)
+def unref()
+</code></synopsis>
<p>Decreases the reference count of @info. When its reference count
-drops to 0, the info is freed.</p></page>
+drops to 0, the info is freed.</p>
+
+<table>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.CallableInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.CallableInfo.page
index 739ee20b..ab20f816 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.CallableInfo.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.CallableInfo.page
@@ -7,5 +7,6 @@
<info>
</info>
<title>GIRepository.CallableInfo</title>
-<p>Represents a callable, either <link xref="GIFunctionInfo">GIFunctionInfo</link>, <link xref="GICallbackInfo">GICallbackInfo</link> or
-<link xref="GIVFuncInfo">GIVFuncInfo</link>.</p></page>
+<p>Represents a callable, either <link xref="GIRepository.FunctionInfo">GIRepository.FunctionInfo</link>, <link xref="GIRepository.CallbackInfo">GIRepository.CallbackInfo</link> or
+<link xref="GIRepository.VFuncInfo">GIRepository.VFuncInfo</link>.</p>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.CallbackInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.CallbackInfo.page
index 82055937..e5a71709 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.CallbackInfo.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.CallbackInfo.page
@@ -7,4 +7,5 @@
<info>
</info>
<title>GIRepository.CallbackInfo</title>
-<p>Represents a callback, eg arguments and return value.</p></page>
+<p>Represents a callback, eg arguments and return value.</p>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ConstantInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ConstantInfo.page
index 1780406e..4ed05edb 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ConstantInfo.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ConstantInfo.page
@@ -7,4 +7,5 @@
<info>
</info>
<title>GIRepository.ConstantInfo</title>
-<p>Represents a constant.</p></page>
+<p>Represents a constant.</p>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Direction.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Direction.page
index 1b68ba89..88c6bd5b 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Direction.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Direction.page
@@ -1,10 +1,27 @@
<?xml version="1.0"?>
<page id="GIRepository.Direction"
- type="topic"
- style=""
+ type="guide"
+ style="enum"
xmlns="http://projectmallard.org/1.0/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
+ <link type="guide" xref="index"/>
</info>
<title>GIRepository.Direction</title>
-<p>The direction of a <link xref="GIArgInfo">GIArgInfo</link>.</p></page>
+ <p>The direction of a <link xref="GIRepository.ArgInfo">GIRepository.ArgInfo</link>.</p>
+<table>
+<tr>
+<td><p>Direction.IN :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>Direction.OUT :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>Direction.INOUT :</p></td>
+<td></td>
+</tr>
+</table>
+
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.EnumInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.EnumInfo.page
index 76c71545..eebac1b0 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.EnumInfo.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.EnumInfo.page
@@ -7,4 +7,5 @@
<info>
</info>
<title>GIRepository.EnumInfo</title>
-<p>Represents an enum or a flag.</p></page>
+<p>Represents an enum or a flag.</p>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FieldInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FieldInfo.page
index 9aae6805..0e90ebad 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FieldInfo.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FieldInfo.page
@@ -7,4 +7,5 @@
<info>
</info>
<title>GIRepository.FieldInfo</title>
-<p>Represents a field of a <link xref="GIStructInfo">GIStructInfo</link> or a <link xref="GIUnionInfo">GIUnionInfo</link>.</p></page>
+<p>Represents a field of a <link xref="GIRepository.StructInfo">GIRepository.StructInfo</link> or a <link xref="GIRepository.UnionInfo">GIRepository.UnionInfo</link>.</p>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FieldInfoFlags.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FieldInfoFlags.page
index d1e85b07..87df966c 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FieldInfoFlags.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FieldInfoFlags.page
@@ -7,4 +7,5 @@
<info>
</info>
<title>GIRepository.FieldInfoFlags</title>
-<p>Flags for a <link xref="GIFieldInfo">GIFieldInfo</link>.</p></page>
+<p>Flags for a <link xref="GIRepository.FieldInfo">GIRepository.FieldInfo</link>.</p>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FunctionInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FunctionInfo.page
index d20c7b2b..d0b0f457 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FunctionInfo.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FunctionInfo.page
@@ -7,4 +7,5 @@
<info>
</info>
<title>GIRepository.FunctionInfo</title>
-<p>Represents a function, eg arguments and return value.</p></page>
+<p>Represents a function, eg arguments and return value.</p>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FunctionInfoFlags.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FunctionInfoFlags.page
index f86678cb..962e3ffa 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FunctionInfoFlags.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FunctionInfoFlags.page
@@ -7,4 +7,5 @@
<info>
</info>
<title>GIRepository.FunctionInfoFlags</title>
-<p>Flags for a <link xref="GIFunctionInfo">GIFunctionInfo</link> struct.</p></page>
+<p>Flags for a <link xref="GIRepository.FunctionInfo">GIRepository.FunctionInfo</link> struct.</p>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.InfoType.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.InfoType.page
index 04e4bbba..c624fb66 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.InfoType.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.InfoType.page
@@ -1,10 +1,95 @@
<?xml version="1.0"?>
<page id="GIRepository.InfoType"
- type="topic"
- style=""
+ type="guide"
+ style="enum"
xmlns="http://projectmallard.org/1.0/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
+ <link type="guide" xref="index"/>
</info>
<title>GIRepository.InfoType</title>
-<p>The type of a GIBaseInfo struct.</p></page>
+ <p>The type of a GIBaseInfo struct.</p>
+<table>
+<tr>
+<td><p>InfoType.INVALID :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>InfoType.FUNCTION :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>InfoType.CALLBACK :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>InfoType.STRUCT :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>InfoType.BOXED :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>InfoType.ENUM :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>InfoType.FLAGS :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>InfoType.OBJECT :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>InfoType.INTERFACE :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>InfoType.CONSTANT :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>InfoType.INVALID_0 :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>InfoType.UNION :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>InfoType.VALUE :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>InfoType.SIGNAL :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>InfoType.VFUNC :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>InfoType.PROPERTY :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>InfoType.FIELD :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>InfoType.ARG :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>InfoType.TYPE :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>InfoType.UNRESOLVED :</p></td>
+<td></td>
+</tr>
+</table>
+
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.InterfaceInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.InterfaceInfo.page
index 76883352..27ebf8f8 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.InterfaceInfo.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.InterfaceInfo.page
@@ -7,4 +7,5 @@
<info>
</info>
<title>GIRepository.InterfaceInfo</title>
-<p>Represents an interface.</p></page>
+<p>Represents an interface.</p>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfo.page
index 3cd4aed4..fd74384c 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfo.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfo.page
@@ -7,4 +7,5 @@
<info>
</info>
<title>GIRepository.ObjectInfo</title>
-<p>Represents an object.</p></page>
+<p>Represents an object.</p>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoGetValueFunction.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoGetValueFunction.page
index 10524550..a8a86392 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoGetValueFunction.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoGetValueFunction.page
@@ -7,4 +7,5 @@
<info>
</info>
<title>GIRepository.ObjectInfoGetValueFunction</title>
-<p>Extract an object instance out of @value</p></page>
+<p>Extract an object instance out of @value</p>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoRefFunction.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoRefFunction.page
index 5af40462..12b8b52a 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoRefFunction.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoRefFunction.page
@@ -7,4 +7,5 @@
<info>
</info>
<title>GIRepository.ObjectInfoRefFunction</title>
-<p>Increases the reference count of an object instance.</p></page>
+<p>Increases the reference count of an object instance.</p>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoSetValueFunction.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoSetValueFunction.page
index 2940635d..3d5c677d 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoSetValueFunction.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoSetValueFunction.page
@@ -7,4 +7,5 @@
<info>
</info>
<title>GIRepository.ObjectInfoSetValueFunction</title>
-<p>Update @value and attach the object instance pointer @object to it.</p></page>
+<p>Update @value and attach the object instance pointer @object to it.</p>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoUnrefFunction.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoUnrefFunction.page
index 64f7d992..11120095 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoUnrefFunction.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoUnrefFunction.page
@@ -7,4 +7,5 @@
<info>
</info>
<title>GIRepository.ObjectInfoUnrefFunction</title>
-<p>Decreases the reference count of an object instance.</p></page>
+<p>Decreases the reference count of an object instance.</p>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.PropertyInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.PropertyInfo.page
index 5b92351e..4d383595 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.PropertyInfo.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.PropertyInfo.page
@@ -7,4 +7,5 @@
<info>
</info>
<title>GIRepository.PropertyInfo</title>
-<p>Represents a property of a <link xref="GIObjectInfo">GIObjectInfo</link> or a <link xref="GIInterfaceInfo">GIInterfaceInfo</link>.</p></page>
+<p>Represents a property of a <link xref="GIRepository.ObjectInfo">GIRepository.ObjectInfo</link> or a <link xref="GIRepository.InterfaceInfo">GIRepository.InterfaceInfo</link>.</p>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RegisteredTypeInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RegisteredTypeInfo.page
index debbc0b4..d98e976c 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RegisteredTypeInfo.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RegisteredTypeInfo.page
@@ -7,4 +7,5 @@
<info>
</info>
<title>GIRepository.RegisteredTypeInfo</title>
-<p>Represent a registered type.</p></page>
+<p>Represent a registered type.</p>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.dump.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.dump.page
new file mode 100644
index 00000000..a6defe03
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.dump.page
@@ -0,0 +1,40 @@
+<?xml version="1.0"?>
+
+<page id="GIRepository.Repository.dump"
+ type="topic"
+ style="function"
+ xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
+ xmlns:ui="http://projectmallard.org/experimental/ui/">
+ <info>
+ <link type="guide" xref="GIRepository.Repository" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gboolean</api:type>
+ </api:returns>
+ <api:name>g_irepository_dump</api:name>
+ <api:arg>
+ <api:type>utf8</api:type>
+ <api:name>arg</api:name>
+ </api:arg>
+ </api:function>
+ </info>
+ <title>dump</title>
+<synopsis><code mime="text/x-python">
+@accepts(utf8)
+@returns(gboolean)
+def dump(arg)
+</code></synopsis>
+
+
+<table>
+<tr>
+<td><p>arg :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.enumerate_versions.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.enumerate_versions.page
index 0b4f84d0..d6c2f85f 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.enumerate_versions.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.enumerate_versions.page
@@ -1,12 +1,45 @@
<?xml version="1.0"?>
+
<page id="GIRepository.Repository.enumerate_versions"
type="topic"
style="method"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="GIRepository.Repository" group="method"/>
+ <api:function>
+ <api:returns>
+ <api:type>&lt;list&gt;</api:type>
+ </api:returns>
+ <api:name>g_irepository_enumerate_versions</api:name>
+ <api:arg>
+ <api:type>GIRepository *</api:type>
+ <api:name>self</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>utf8</api:type>
+ <api:name>namespace_</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.Repository.enumerate_versions</title>
+ <title>enumerate_versions</title>
+<synopsis><code mime="text/x-python">
+@accepts(utf8)
+@returns(&lt;list&gt;)
+def enumerate_versions(namespace_)
+</code></synopsis>
<p>Obtain an unordered list of versions (either currently loaded or
-available) for @namespace_ in this @repository.</p></page>
+available) for @namespace_ in this @repository.</p>
+
+<table>
+<tr>
+<td><p>namespace_ :</p></td>
+<td><p>GI namespace, e.g. "Gtk"</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the array of versions.</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.error_quark.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.error_quark.page
new file mode 100644
index 00000000..9fe89d2a
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.error_quark.page
@@ -0,0 +1,31 @@
+<?xml version="1.0"?>
+
+<page id="GIRepository.Repository.error_quark"
+ type="topic"
+ style="function"
+ xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
+ xmlns:ui="http://projectmallard.org/experimental/ui/">
+ <info>
+ <link type="guide" xref="GIRepository.Repository" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GLib.Quark</api:type>
+ </api:returns>
+ <api:name>g_irepository_error_quark</api:name>
+ </api:function>
+ </info>
+ <title>error_quark</title>
+<synopsis><code mime="text/x-python">
+@returns(GLib.Quark)
+def error_quark()
+</code></synopsis>
+
+
+<table>
+<tr>
+<td><p>Returns :</p></td>
+<td></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_error_domain.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_error_domain.page
index 989a713e..843b68bd 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_error_domain.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_error_domain.page
@@ -1,14 +1,48 @@
<?xml version="1.0"?>
+
<page id="GIRepository.Repository.find_by_error_domain"
type="topic"
style="method"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="GIRepository.Repository" group="method"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.EnumInfo</api:type>
+ </api:returns>
+ <api:name>g_irepository_find_by_error_domain</api:name>
+ <api:arg>
+ <api:type>GIRepository *</api:type>
+ <api:name>self</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>GLib.Quark</api:type>
+ <api:name>domain</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.Repository.find_by_error_domain</title>
+ <title>find_by_error_domain</title>
+<synopsis><code mime="text/x-python">
+@accepts(GLib.Quark)
+@returns(GIRepository.EnumInfo)
+def find_by_error_domain(domain)
+</code></synopsis>
<p>Searches for the enum type corresponding to the given <link xref="GError">GError</link>
domain. Before calling this function for a particular namespace,
you must call g_irepository_require() once to load the namespace, or
-otherwise ensure the namespace has already been loaded.</p><p>enum type, or %NULL</p></page>
+otherwise ensure the namespace has already been loaded.</p><p>enum type, or None</p>
+
+<table>
+<tr>
+<td><p>domain :</p></td>
+<td><p>a <link xref="GError">GError</link> domain</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p><link xref="GIRepository.EnumInfo">GIRepository.EnumInfo</link> representing metadata about @domain's</p></td>
+</tr>
+</table>
+<p>Since 1.29.17</p>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_gtype.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_gtype.page
index 0ced00de..006ce3cd 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_gtype.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_gtype.page
@@ -1,16 +1,49 @@
<?xml version="1.0"?>
+
<page id="GIRepository.Repository.find_by_gtype"
type="topic"
style="method"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="GIRepository.Repository" group="method"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.BaseInfo</api:type>
+ </api:returns>
+ <api:name>g_irepository_find_by_gtype</api:name>
+ <api:arg>
+ <api:type>GIRepository *</api:type>
+ <api:name>self</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>GType</api:type>
+ <api:name>gtype</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.Repository.find_by_gtype</title>
+ <title>find_by_gtype</title>
+<synopsis><code mime="text/x-python">
+@accepts(GType)
+@returns(GIRepository.BaseInfo)
+def find_by_gtype(gtype)
+</code></synopsis>
<p>Searches all loaded namespaces for a particular <link xref="GType">GType</link>. Note that
in order to locate the metadata, the namespace corresponding to
the type must first have been loaded. There is currently no
mechanism for determining the namespace which corresponds to an
arbitrary GType - thus, this function will operate most reliably
-when you know the GType to originate from be from a loaded namespace.</p></page>
+when you know the GType to originate from be from a loaded namespace.</p>
+
+<table>
+<tr>
+<td><p>gtype :</p></td>
+<td><p>GType to search for</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p><link xref="GIRepository.BaseInfo">GIRepository.BaseInfo</link> representing metadata about @type, or None</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_name.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_name.page
index 6f61fd83..5b84d4f0 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_name.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_name.page
@@ -1,14 +1,55 @@
<?xml version="1.0"?>
+
<page id="GIRepository.Repository.find_by_name"
type="topic"
style="method"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="GIRepository.Repository" group="method"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.BaseInfo</api:type>
+ </api:returns>
+ <api:name>g_irepository_find_by_name</api:name>
+ <api:arg>
+ <api:type>GIRepository *</api:type>
+ <api:name>self</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>utf8</api:type>
+ <api:name>namespace_</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>utf8</api:type>
+ <api:name>name</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.Repository.find_by_name</title>
+ <title>find_by_name</title>
+<synopsis><code mime="text/x-python">
+@accepts(utf8, utf8)
+@returns(GIRepository.BaseInfo)
+def find_by_name(namespace_, name)
+</code></synopsis>
<p>Searches for a particular entry in a namespace. Before calling
this function for a particular namespace, you must call
g_irepository_require() once to load the namespace, or otherwise
-ensure the namespace has already been loaded.</p></page>
+ensure the namespace has already been loaded.</p>
+
+<table>
+<tr>
+<td><p>namespace_ :</p></td>
+<td><p>Namespace which will be searched</p></td>
+</tr>
+<tr>
+<td><p>name :</p></td>
+<td><p>Entry name to find</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p><link xref="GIRepository.BaseInfo">GIRepository.BaseInfo</link> representing metadata about @name, or None</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_c_prefix.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_c_prefix.page
index 1bf517c7..22932d13 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_c_prefix.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_c_prefix.page
@@ -1,14 +1,47 @@
<?xml version="1.0"?>
+
<page id="GIRepository.Repository.get_c_prefix"
type="topic"
style="method"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="GIRepository.Repository" group="method"/>
+ <api:function>
+ <api:returns>
+ <api:type>utf8</api:type>
+ </api:returns>
+ <api:name>g_irepository_get_c_prefix</api:name>
+ <api:arg>
+ <api:type>GIRepository *</api:type>
+ <api:name>self</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>utf8</api:type>
+ <api:name>namespace_</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.Repository.get_c_prefix</title>
+ <title>get_c_prefix</title>
+<synopsis><code mime="text/x-python">
+@accepts(utf8)
+@returns(utf8)
+def get_c_prefix(namespace_)
+</code></synopsis>
<p>This function returns the "C prefix", or the C level namespace
associated with the given introspection namespace. Each C symbol
starts with this prefix, as well each <link xref="GType">GType</link> in the library.</p><p>Note: The namespace must have already been loaded using a function
-such as g_irepository_require() before calling this function.</p></page>
+such as g_irepository_require() before calling this function.</p>
+
+<table>
+<tr>
+<td><p>namespace_ :</p></td>
+<td><p>Namespace to inspect</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>C namespace prefix, or None if none associated</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_default.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_default.page
new file mode 100644
index 00000000..1c8e529d
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_default.page
@@ -0,0 +1,39 @@
+<?xml version="1.0"?>
+
+<page id="GIRepository.Repository.get_default"
+ type="topic"
+ style="function"
+ xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
+ xmlns:ui="http://projectmallard.org/experimental/ui/">
+ <info>
+ <link type="guide" xref="GIRepository.Repository" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.Repository</api:type>
+ </api:returns>
+ <api:name>g_irepository_get_default</api:name>
+ </api:function>
+ </info>
+ <title>get_default</title>
+<synopsis><code mime="text/x-python">
+@returns(GIRepository.Repository)
+def get_default()
+</code></synopsis>
+<p>Returns the singleton process-global default <link xref="GIRepository.Repository">GIRepository.Repository</link>. It is
+not currently supported to have multiple repositories in a
+particular process, but this function is provided in the unlikely
+eventuality that it would become possible, and as a convenience for
+higher level language bindings to conform to the GObject method
+call conventions.
+All methods on <link xref="GIRepository.Repository">GIRepository.Repository</link> also accept None as an instance
+parameter to mean this default repository, which is usually more
+convenient for C.</p>
+
+<table>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>The global singleton <link xref="GIRepository.Repository">GIRepository.Repository</link></p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_dependencies.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_dependencies.page
index 3dcb1f8c..a919b262 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_dependencies.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_dependencies.page
@@ -1,14 +1,47 @@
<?xml version="1.0"?>
+
<page id="GIRepository.Repository.get_dependencies"
type="topic"
style="method"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="GIRepository.Repository" group="method"/>
+ <api:function>
+ <api:returns>
+ <api:type>[utf8]</api:type>
+ </api:returns>
+ <api:name>g_irepository_get_dependencies</api:name>
+ <api:arg>
+ <api:type>GIRepository *</api:type>
+ <api:name>self</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>utf8</api:type>
+ <api:name>namespace_</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.Repository.get_dependencies</title>
+ <title>get_dependencies</title>
+<synopsis><code mime="text/x-python">
+@accepts(utf8)
+@returns([utf8])
+def get_dependencies(namespace_)
+</code></synopsis>
<p>Return an array of all (transitive) dependencies for namespace
@namespace_, including version. The returned strings are of the
form &lt;code&gt;namespace-version&lt;/code&gt;.</p><p>Note: The namespace must have already been loaded using a function
-such as g_irepository_require() before calling this function.</p></page>
+such as g_irepository_require() before calling this function.</p>
+
+<table>
+<tr>
+<td><p>namespace_ :</p></td>
+<td><p>Namespace of interest</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>Zero-terminated string array of versioned dependencies</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_info.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_info.page
index 85d0a533..62e45494 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_info.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_info.page
@@ -1,15 +1,56 @@
<?xml version="1.0"?>
+
<page id="GIRepository.Repository.get_info"
type="topic"
style="method"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="GIRepository.Repository" group="method"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.BaseInfo</api:type>
+ </api:returns>
+ <api:name>g_irepository_get_info</api:name>
+ <api:arg>
+ <api:type>GIRepository *</api:type>
+ <api:name>self</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>utf8</api:type>
+ <api:name>namespace_</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>gint</api:type>
+ <api:name>index</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.Repository.get_info</title>
+ <title>get_info</title>
+<synopsis><code mime="text/x-python">
+@accepts(utf8, gint)
+@returns(GIRepository.BaseInfo)
+def get_info(namespace_, index)
+</code></synopsis>
<p>This function returns a particular metadata entry in the
given namespace @namespace_. The namespace must have
already been loaded before calling this function.
See g_irepository_get_n_infos() to find the maximum number of
-entries.</p></page>
+entries.</p>
+
+<table>
+<tr>
+<td><p>namespace_ :</p></td>
+<td><p>Namespace to inspect</p></td>
+</tr>
+<tr>
+<td><p>index :</p></td>
+<td><p>0-based offset into namespace metadata for entry</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p><link xref="GIRepository.BaseInfo">GIRepository.BaseInfo</link> containing metadata</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_loaded_namespaces.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_loaded_namespaces.page
index b9203930..b10f94b8 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_loaded_namespaces.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_loaded_namespaces.page
@@ -1,11 +1,35 @@
<?xml version="1.0"?>
+
<page id="GIRepository.Repository.get_loaded_namespaces"
type="topic"
style="method"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="GIRepository.Repository" group="method"/>
+ <api:function>
+ <api:returns>
+ <api:type>[utf8]</api:type>
+ </api:returns>
+ <api:name>g_irepository_get_loaded_namespaces</api:name>
+ <api:arg>
+ <api:type>GIRepository *</api:type>
+ <api:name>self</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.Repository.get_loaded_namespaces</title>
-<p>Return the list of currently loaded namespaces.</p></page>
+ <title>get_loaded_namespaces</title>
+<synopsis><code mime="text/x-python">
+@returns([utf8])
+def get_loaded_namespaces()
+</code></synopsis>
+<p>Return the list of currently loaded namespaces.</p>
+
+<table>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>List of namespaces</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_n_infos.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_n_infos.page
index 5cba4336..eca7a563 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_n_infos.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_n_infos.page
@@ -1,13 +1,46 @@
<?xml version="1.0"?>
+
<page id="GIRepository.Repository.get_n_infos"
type="topic"
style="method"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="GIRepository.Repository" group="method"/>
+ <api:function>
+ <api:returns>
+ <api:type>gint</api:type>
+ </api:returns>
+ <api:name>g_irepository_get_n_infos</api:name>
+ <api:arg>
+ <api:type>GIRepository *</api:type>
+ <api:name>self</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>utf8</api:type>
+ <api:name>namespace_</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.Repository.get_n_infos</title>
+ <title>get_n_infos</title>
+<synopsis><code mime="text/x-python">
+@accepts(utf8)
+@returns(gint)
+def get_n_infos(namespace_)
+</code></synopsis>
<p>This function returns the number of metadata entries in
given namespace @namespace_. The namespace must have
-already been loaded before calling this function.</p></page>
+already been loaded before calling this function.</p>
+
+<table>
+<tr>
+<td><p>namespace_ :</p></td>
+<td><p>Namespace to inspect</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>number of metadata entries</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_option_group.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_option_group.page
new file mode 100644
index 00000000..13b733ad
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_option_group.page
@@ -0,0 +1,33 @@
+<?xml version="1.0"?>
+
+<page id="GIRepository.Repository.get_option_group"
+ type="topic"
+ style="function"
+ xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
+ xmlns:ui="http://projectmallard.org/experimental/ui/">
+ <info>
+ <link type="guide" xref="GIRepository.Repository" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GLib.OptionGroup</api:type>
+ </api:returns>
+ <api:name>g_irepository_get_option_group</api:name>
+ </api:function>
+ </info>
+ <title>get_option_group</title>
+<synopsis><code mime="text/x-python">
+@returns(GLib.OptionGroup)
+def get_option_group()
+</code></synopsis>
+<p>Obtain the option group for girepository, it's used
+by the dumper and for programs that wants to provide
+introspection information</p>
+
+<table>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the option group</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_search_path.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_search_path.page
new file mode 100644
index 00000000..3faa1452
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_search_path.page
@@ -0,0 +1,33 @@
+<?xml version="1.0"?>
+
+<page id="GIRepository.Repository.get_search_path"
+ type="topic"
+ style="function"
+ xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
+ xmlns:ui="http://projectmallard.org/experimental/ui/">
+ <info>
+ <link type="guide" xref="GIRepository.Repository" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>&lt;list&gt;</api:type>
+ </api:returns>
+ <api:name>g_irepository_get_search_path</api:name>
+ </api:function>
+ </info>
+ <title>get_search_path</title>
+<synopsis><code mime="text/x-python">
+@returns(&lt;list&gt;)
+def get_search_path()
+</code></synopsis>
+<p>Returns the search path the GIRepository will use when looking for typelibs.
+The string is internal to GIRespository and should not be freed, nor should
+the elements.</p>
+
+<table>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>list of strings</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_shared_library.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_shared_library.page
index ed0bff74..c0be1f9d 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_shared_library.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_shared_library.page
@@ -1,15 +1,48 @@
<?xml version="1.0"?>
+
<page id="GIRepository.Repository.get_shared_library"
type="topic"
style="method"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="GIRepository.Repository" group="method"/>
+ <api:function>
+ <api:returns>
+ <api:type>utf8</api:type>
+ </api:returns>
+ <api:name>g_irepository_get_shared_library</api:name>
+ <api:arg>
+ <api:type>GIRepository *</api:type>
+ <api:name>self</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>utf8</api:type>
+ <api:name>namespace_</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.Repository.get_shared_library</title>
+ <title>get_shared_library</title>
+<synopsis><code mime="text/x-python">
+@accepts(utf8)
+@returns(utf8)
+def get_shared_library(namespace_)
+</code></synopsis>
<p>This function returns the full path to the shared C library
associated with the given namespace @namespace_. There may be no
shared library path associated, in which case this function will
-return %NULL.</p><p>Note: The namespace must have already been loaded using a function
-such as g_irepository_require() before calling this function.</p></page>
+return None.</p><p>Note: The namespace must have already been loaded using a function
+such as g_irepository_require() before calling this function.</p>
+
+<table>
+<tr>
+<td><p>namespace_ :</p></td>
+<td><p>Namespace to inspect</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>Full path to shared library, or None if none associated</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_typelib_path.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_typelib_path.page
index 60a1cc67..4dd71b43 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_typelib_path.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_typelib_path.page
@@ -1,14 +1,47 @@
<?xml version="1.0"?>
+
<page id="GIRepository.Repository.get_typelib_path"
type="topic"
style="method"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="GIRepository.Repository" group="method"/>
+ <api:function>
+ <api:returns>
+ <api:type>utf8</api:type>
+ </api:returns>
+ <api:name>g_irepository_get_typelib_path</api:name>
+ <api:arg>
+ <api:type>GIRepository *</api:type>
+ <api:name>self</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>utf8</api:type>
+ <api:name>namespace_</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.Repository.get_typelib_path</title>
+ <title>get_typelib_path</title>
+<synopsis><code mime="text/x-python">
+@accepts(utf8)
+@returns(utf8)
+def get_typelib_path(namespace_)
+</code></synopsis>
<p>If namespace @namespace_ is loaded, return the full path to the
.typelib file it was loaded from. If the typelib for
namespace @namespace_ was included in a shared library, return
-the special string "$lt;builtin$gt;".</p></page>
+the special string "$lt;builtin$gt;".</p>
+
+<table>
+<tr>
+<td><p>namespace_ :</p></td>
+<td><p>GI namespace to use, e.g. "Gtk"</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>Filesystem path (or $lt;builtin$gt;) if successful, None if namespace is not loaded</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_version.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_version.page
index 97c961e0..86ab7dd7 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_version.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_version.page
@@ -1,13 +1,46 @@
<?xml version="1.0"?>
+
<page id="GIRepository.Repository.get_version"
type="topic"
style="method"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="GIRepository.Repository" group="method"/>
+ <api:function>
+ <api:returns>
+ <api:type>utf8</api:type>
+ </api:returns>
+ <api:name>g_irepository_get_version</api:name>
+ <api:arg>
+ <api:type>GIRepository *</api:type>
+ <api:name>self</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>utf8</api:type>
+ <api:name>namespace_</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.Repository.get_version</title>
+ <title>get_version</title>
+<synopsis><code mime="text/x-python">
+@accepts(utf8)
+@returns(utf8)
+def get_version(namespace_)
+</code></synopsis>
<p>This function returns the loaded version associated with the given
namespace @namespace_.</p><p>Note: The namespace must have already been loaded using a function
-such as g_irepository_require() before calling this function.</p></page>
+such as g_irepository_require() before calling this function.</p>
+
+<table>
+<tr>
+<td><p>namespace_ :</p></td>
+<td><p>Namespace to inspect</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>Loaded version</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.is_registered.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.is_registered.page
index f9749286..862a6da1 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.is_registered.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.is_registered.page
@@ -1,16 +1,57 @@
<?xml version="1.0"?>
+
<page id="GIRepository.Repository.is_registered"
type="topic"
style="method"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="GIRepository.Repository" group="method"/>
+ <api:function>
+ <api:returns>
+ <api:type>gboolean</api:type>
+ </api:returns>
+ <api:name>g_irepository_is_registered</api:name>
+ <api:arg>
+ <api:type>GIRepository *</api:type>
+ <api:name>self</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>utf8</api:type>
+ <api:name>namespace_</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>utf8</api:type>
+ <api:name>version</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.Repository.is_registered</title>
+ <title>is_registered</title>
+<synopsis><code mime="text/x-python">
+@accepts(utf8, utf8)
+@returns(gboolean)
+def is_registered(namespace_, version)
+</code></synopsis>
<p>Check whether a particular namespace (and optionally, a specific
version thereof) is currently loaded. This function is likely to
only be useful in unusual circumstances; in order to act upon
metadata in the namespace, you should call g_irepository_require()
instead which will ensure the namespace is loaded, and return as
-quickly as this function will if it has already been loaded.</p></page>
+quickly as this function will if it has already been loaded.</p>
+
+<table>
+<tr>
+<td><p>namespace_ :</p></td>
+<td><p>Namespace of interest</p></td>
+</tr>
+<tr>
+<td><p>version :</p></td>
+<td><p>Required version, may be None for latest</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>True if namespace-version is loaded, False otherwise</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.load_typelib.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.load_typelib.page
index 42583b3d..9bd25fc8 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.load_typelib.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.load_typelib.page
@@ -1,11 +1,52 @@
<?xml version="1.0"?>
+
<page id="GIRepository.Repository.load_typelib"
type="topic"
style="method"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="GIRepository.Repository" group="method"/>
+ <api:function>
+ <api:returns>
+ <api:type>utf8</api:type>
+ </api:returns>
+ <api:name>g_irepository_load_typelib</api:name>
+ <api:arg>
+ <api:type>GIRepository *</api:type>
+ <api:name>self</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>GIRepository.Typelib</api:type>
+ <api:name>typelib</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>GIRepository.RepositoryLoadFlags</api:type>
+ <api:name>flags</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.Repository.load_typelib</title>
+ <title>load_typelib</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.Typelib, GIRepository.RepositoryLoadFlags)
+@returns(utf8)
+def load_typelib(typelib, flags)
+</code></synopsis>
+
+
+<table>
+<tr>
+<td><p>typelib :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>flags :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td></td>
+</tr>
+</table>
</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.page
index 02cfb1f5..4a6216ca 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.page
@@ -3,12 +3,20 @@
type="guide"
style="class"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="class"/>
</info>
<title>GIRepository.Repository</title>
- <synopsis ui:expanded="no">
+
+
+ <synopsis><code>
+from gi.repository import GIRepository
+
+repository = GIRepository.Repository() </code></synopsis>
+
+ <synopsis>
<title>Hierarchy</title>
<tree>
<item>
@@ -16,19 +24,23 @@
</item>
</tree>
</synopsis>
- <links type="topic" ui:expanded="yes" groups="constructor">
- <title>Constructors</title>
- </links>
- <links type="topic" ui:expanded="yes" groups="method">
+ <links type="topic" ui:expanded="yes"
+ api:type="function" api:mime="text/x-python"
+ groups="method" style="linklist">
<title>Methods</title>
</links>
- <links type="topic" ui:expanded="yes" groups="property">
+ <links type="topic" ui:expanded="yes"
+ api:type="function" api:mime="text/x-python"
+ groups="function" style="linklist">
+ <title>Functions</title>
+ </links>
+ <links type="topic" ui:expanded="yes" groups="property" style="linklist">
<title>Properties</title>
</links>
- <links type="topic" ui:expanded="yes" groups="signal">
+ <links type="topic" ui:expanded="yes" groups="signal" style="linklist">
<title>Signals</title>
</links>
- <links type="topic" ui:expanded="yes" groups="#first #default #last">
+ <links type="topic" ui:expanded="yes" groups="#first #default #last" style="linklist">
<title>Other</title>
</links>
</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.prepend_search_path.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.prepend_search_path.page
new file mode 100644
index 00000000..01614b16
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.prepend_search_path.page
@@ -0,0 +1,36 @@
+<?xml version="1.0"?>
+
+<page id="GIRepository.Repository.prepend_search_path"
+ type="topic"
+ style="function"
+ xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
+ xmlns:ui="http://projectmallard.org/experimental/ui/">
+ <info>
+ <link type="guide" xref="GIRepository.Repository" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>none</api:type>
+ </api:returns>
+ <api:name>g_irepository_prepend_search_path</api:name>
+ <api:arg>
+ <api:type>utf8</api:type>
+ <api:name>directory</api:name>
+ </api:arg>
+ </api:function>
+ </info>
+ <title>prepend_search_path</title>
+<synopsis><code mime="text/x-python">
+@accepts(utf8)
+@returns(none)
+def prepend_search_path(directory)
+</code></synopsis>
+
+
+<table>
+<tr>
+<td><p>directory :</p></td>
+<td></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.require.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.require.page
index eaca377e..4995f3ce 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.require.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.require.page
@@ -1,15 +1,64 @@
<?xml version="1.0"?>
+
<page id="GIRepository.Repository.require"
type="topic"
style="method"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="GIRepository.Repository" group="method"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.Typelib</api:type>
+ </api:returns>
+ <api:name>g_irepository_require</api:name>
+ <api:arg>
+ <api:type>GIRepository *</api:type>
+ <api:name>self</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>utf8</api:type>
+ <api:name>namespace_</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>utf8</api:type>
+ <api:name>version</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>GIRepository.RepositoryLoadFlags</api:type>
+ <api:name>flags</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.Repository.require</title>
+ <title>require</title>
+<synopsis><code mime="text/x-python">
+@accepts(utf8, utf8, GIRepository.RepositoryLoadFlags)
+@returns(GIRepository.Typelib)
+def require(namespace_, version, flags)
+</code></synopsis>
<p>Force the namespace @namespace_ to be loaded if it isn't already.
If @namespace_ is not loaded, this function will search for a
".typelib" file using the repository search path. In addition, a
version @version of namespace may be specified. If @version is
-not specified, the latest will be used.</p></page>
+not specified, the latest will be used.</p>
+
+<table>
+<tr>
+<td><p>namespace_ :</p></td>
+<td><p>GI namespace to use, e.g. "Gtk"</p></td>
+</tr>
+<tr>
+<td><p>version :</p></td>
+<td><p>Version of namespace, may be None for latest</p></td>
+</tr>
+<tr>
+<td><p>flags :</p></td>
+<td><p>Set of %GIRepositoryLoadFlags, may be 0</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>a pointer to the <link xref="GIRepository.Typelib">GIRepository.Typelib</link> if successful, None otherwise</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.require_private.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.require_private.page
index 211d179b..034914e0 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.require_private.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.require_private.page
@@ -1,15 +1,72 @@
<?xml version="1.0"?>
+
<page id="GIRepository.Repository.require_private"
type="topic"
style="method"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="GIRepository.Repository" group="method"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.Typelib</api:type>
+ </api:returns>
+ <api:name>g_irepository_require_private</api:name>
+ <api:arg>
+ <api:type>GIRepository *</api:type>
+ <api:name>self</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>utf8</api:type>
+ <api:name>typelib_dir</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>utf8</api:type>
+ <api:name>namespace_</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>utf8</api:type>
+ <api:name>version</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>GIRepository.RepositoryLoadFlags</api:type>
+ <api:name>flags</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.Repository.require_private</title>
+ <title>require_private</title>
+<synopsis><code mime="text/x-python">
+@accepts(utf8, utf8, utf8, GIRepository.RepositoryLoadFlags)
+@returns(GIRepository.Typelib)
+def require_private(typelib_dir, namespace_, version, flags)
+</code></synopsis>
<p>Force the namespace @namespace_ to be loaded if it isn't already.
If @namespace_ is not loaded, this function will search for a
".typelib" file within the private directory only. In addition, a
version @version of namespace should be specified. If @version is
-not specified, the latest will be used.</p></page>
+not specified, the latest will be used.</p>
+
+<table>
+<tr>
+<td><p>typelib_dir :</p></td>
+<td><p>Private directory where to find the requested typelib</p></td>
+</tr>
+<tr>
+<td><p>namespace_ :</p></td>
+<td><p>GI namespace to use, e.g. "Gtk"</p></td>
+</tr>
+<tr>
+<td><p>version :</p></td>
+<td><p>Version of namespace, may be None for latest</p></td>
+</tr>
+<tr>
+<td><p>flags :</p></td>
+<td><p>Set of %GIRepositoryLoadFlags, may be 0</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>a pointer to the <link xref="GIRepository.Typelib">GIRepository.Typelib</link> if successful, None otherwise</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryClass.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryClass.page
index e8282d81..3da740bc 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryClass.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryClass.page
@@ -7,5 +7,6 @@
<info>
<link type="guide" xref="index"/>
</info>
- <title>GIRepository.RepositoryClass</title>
+ <title>GIRepositoryRepositoryClass</title>
+ <p>None</p>
</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryError.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryError.page
index f2c0a0b7..d4224816 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryError.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryError.page
@@ -1,10 +1,31 @@
<?xml version="1.0"?>
<page id="GIRepository.RepositoryError"
- type="topic"
- style=""
+ type="guide"
+ style="enum"
xmlns="http://projectmallard.org/1.0/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
+ <link type="guide" xref="index"/>
</info>
<title>GIRepository.RepositoryError</title>
+
+<table>
+<tr>
+<td><p>RepositoryError.TYPELIB_NOT_FOUND :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>RepositoryError.NAMESPACE_MISMATCH :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>RepositoryError.NAMESPACE_VERSION_CONFLICT :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>RepositoryError.LIBRARY_NOT_FOUND :</p></td>
+<td></td>
+</tr>
+</table>
+
</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryLoadFlags.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryLoadFlags.page
index 620b0d77..6ad05e8b 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryLoadFlags.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryLoadFlags.page
@@ -8,4 +8,5 @@
</info>
<title>GIRepository.RepositoryLoadFlags</title>
<p>Flags that controlls how a typelib is loaded by
-GIRepositry, used by g_irepository_load_typelib().</p></page>
+GIRepositry, used by g_irepository_load_typelib().</p>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryPrivate.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryPrivate.page
deleted file mode 100644
index b8d23139..00000000
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryPrivate.page
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0"?>
-<page id="GIRepository.RepositoryPrivate"
- type="guide"
- style="record"
- xmlns="http://projectmallard.org/1.0/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
- <info>
- <link type="guide" xref="index"/>
- </info>
- <title>GIRepository.RepositoryPrivate</title>
-</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ScopeType.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ScopeType.page
index 8ac8bff9..9ff8a53c 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ScopeType.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ScopeType.page
@@ -1,12 +1,33 @@
<?xml version="1.0"?>
<page id="GIRepository.ScopeType"
- type="topic"
- style=""
+ type="guide"
+ style="enum"
xmlns="http://projectmallard.org/1.0/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
+ <link type="guide" xref="index"/>
</info>
<title>GIRepository.ScopeType</title>
-<p>Scope type of a <link xref="GIArgInfo">GIArgInfo</link> representing callback, determines how the
+ <p>Scope type of a <link xref="GIRepository.ArgInfo">GIRepository.ArgInfo</link> representing callback, determines how the
callback is invoked and is used to decided when the invoke structs
-can be freed.</p></page>
+can be freed.</p>
+<table>
+<tr>
+<td><p>ScopeType.INVALID :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>ScopeType.CALL :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>ScopeType.ASYNC :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>ScopeType.NOTIFIED :</p></td>
+<td></td>
+</tr>
+</table>
+
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.SignalInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.SignalInfo.page
index 239e792b..24f8471c 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.SignalInfo.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.SignalInfo.page
@@ -7,4 +7,5 @@
<info>
</info>
<title>GIRepository.SignalInfo</title>
-<p>Represents a signal.</p></page>
+<p>Represents a signal.</p>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.StructInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.StructInfo.page
index f99632ff..5e1cb0dc 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.StructInfo.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.StructInfo.page
@@ -7,4 +7,5 @@
<info>
</info>
<title>GIRepository.StructInfo</title>
-<p>Represents a struct.</p></page>
+<p>Represents a struct.</p>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Transfer.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Transfer.page
index b1c7a862..9d55aa1e 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Transfer.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Transfer.page
@@ -1,19 +1,36 @@
<?xml version="1.0"?>
<page id="GIRepository.Transfer"
- type="topic"
- style=""
+ type="guide"
+ style="enum"
xmlns="http://projectmallard.org/1.0/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
+ <link type="guide" xref="index"/>
</info>
<title>GIRepository.Transfer</title>
-<p>The transfer is the exchange of data between two parts, from the callee to
+ <p>The transfer is the exchange of data between two parts, from the callee to
the caller. The callee is either a function/method/signal or an
object/interface where a property is defined. The caller is the side
accessing a property or calling a function.
-<link xref="GITransfer">GITransfer</link> specifies who's responsible for freeing the resources after the
+<link xref="GIRepository.Transfer">GIRepository.Transfer</link> specifies who's responsible for freeing the resources after the
ownership transfer is complete. In case of a containing type such as a list,
an array or a hash table the container itself is specified differently from
the items within the container itself. Each container is freed differently,
check the documentation for the types themselves for information on how to
-free them.</p></page>
+free them.</p>
+<table>
+<tr>
+<td><p>Transfer.NOTHING :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>Transfer.CONTAINER :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>Transfer.EVERYTHING :</p></td>
+<td></td>
+</tr>
+</table>
+
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.TypeInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.TypeInfo.page
index 38ac1939..5b46d876 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.TypeInfo.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.TypeInfo.page
@@ -7,4 +7,5 @@
<info>
</info>
<title>GIRepository.TypeInfo</title>
-<p>Represents type information, direction, transfer etc.</p></page>
+<p>Represents type information, direction, transfer etc.</p>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.TypeTag.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.TypeTag.page
index 128b4124..0ce9a1f6 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.TypeTag.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.TypeTag.page
@@ -1,10 +1,103 @@
<?xml version="1.0"?>
<page id="GIRepository.TypeTag"
- type="topic"
- style=""
+ type="guide"
+ style="enum"
xmlns="http://projectmallard.org/1.0/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
+ <link type="guide" xref="index"/>
</info>
<title>GIRepository.TypeTag</title>
-<p>The type tag of a <link xref="GITypeInfo">GITypeInfo</link>.</p></page>
+ <p>The type tag of a <link xref="GIRepository.TypeInfo">GIRepository.TypeInfo</link>.</p>
+<table>
+<tr>
+<td><p>TypeTag.VOID :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>TypeTag.BOOLEAN :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>TypeTag.INT8 :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>TypeTag.UINT8 :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>TypeTag.INT16 :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>TypeTag.UINT16 :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>TypeTag.INT32 :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>TypeTag.UINT32 :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>TypeTag.INT64 :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>TypeTag.UINT64 :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>TypeTag.FLOAT :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>TypeTag.DOUBLE :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>TypeTag.GTYPE :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>TypeTag.UTF8 :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>TypeTag.FILENAME :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>TypeTag.ARRAY :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>TypeTag.INTERFACE :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>TypeTag.GLIST :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>TypeTag.GSLIST :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>TypeTag.GHASH :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>TypeTag.ERROR :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>TypeTag.UNICHAR :</p></td>
+<td></td>
+</tr>
+</table>
+
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Typelib.free.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Typelib.free.page
deleted file mode 100644
index 6f50f761..00000000
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Typelib.free.page
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0"?>
-<page id="GIRepository.Typelib.free"
- type="topic"
- style="function"
- xmlns="http://projectmallard.org/1.0/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
- <info>
- <link type="guide" xref="GIRepository.Typelib" group="function"/>
- </info>
- <title>GIRepository.free</title>
-</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Typelib.get_namespace.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Typelib.get_namespace.page
deleted file mode 100644
index 23642dd4..00000000
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Typelib.get_namespace.page
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0"?>
-<page id="GIRepository.Typelib.get_namespace"
- type="topic"
- style="function"
- xmlns="http://projectmallard.org/1.0/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
- <info>
- <link type="guide" xref="GIRepository.Typelib" group="function"/>
- </info>
- <title>GIRepository.get_namespace</title>
-</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Typelib.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Typelib.page
deleted file mode 100644
index 946bb07f..00000000
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Typelib.page
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0"?>
-<page id="GIRepository.Typelib"
- type="guide"
- style="record"
- xmlns="http://projectmallard.org/1.0/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
- <info>
- <link type="guide" xref="index"/>
- </info>
- <title>GIRepository.Typelib</title>
-</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Typelib.symbol.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Typelib.symbol.page
deleted file mode 100644
index a65440dd..00000000
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Typelib.symbol.page
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0"?>
-<page id="GIRepository.Typelib.symbol"
- type="topic"
- style="function"
- xmlns="http://projectmallard.org/1.0/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
- <info>
- <link type="guide" xref="GIRepository.Typelib" group="function"/>
- </info>
- <title>GIRepository.symbol</title>
-</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.UnionInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.UnionInfo.page
index 34ee6384..013ecb53 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.UnionInfo.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.UnionInfo.page
@@ -7,4 +7,5 @@
<info>
</info>
<title>GIRepository.UnionInfo</title>
-<p>Represents a union.</p></page>
+<p>Represents a union.</p>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.UnresolvedInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.UnresolvedInfo.page
deleted file mode 100644
index e65ea505..00000000
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.UnresolvedInfo.page
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0"?>
-<page id="GIRepository.UnresolvedInfo"
- type="guide"
- style="record"
- xmlns="http://projectmallard.org/1.0/"
- xmlns:ui="http://projectmallard.org/experimental/ui/">
- <info>
- <link type="guide" xref="index"/>
- </info>
- <title>GIRepository.UnresolvedInfo</title>
-<p>Represents a unresolved type in a typelib.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.VFuncInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.VFuncInfo.page
index 6dc63171..a864ec1d 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.VFuncInfo.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.VFuncInfo.page
@@ -7,4 +7,5 @@
<info>
</info>
<title>GIRepository.VFuncInfo</title>
-<p>Represents a virtual function.</p></page>
+<p>Represents a virtual function.</p>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.VFuncInfoFlags.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.VFuncInfoFlags.page
index df2ca4f5..a750dfde 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.VFuncInfoFlags.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.VFuncInfoFlags.page
@@ -7,4 +7,5 @@
<info>
</info>
<title>GIRepository.VFuncInfoFlags</title>
-<p>Flags of a <link xref="GIVFuncInfo">GIVFuncInfo</link> struct.</p></page>
+<p>Flags of a <link xref="GIRepository.VFuncInfo">GIRepository.VFuncInfo</link> struct.</p>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ValueInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ValueInfo.page
index 3892b2a5..39ad0fa5 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ValueInfo.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ValueInfo.page
@@ -7,4 +7,5 @@
<info>
</info>
<title>GIRepository.ValueInfo</title>
-<p>Represents a enum value of a <link xref="GIEnumInfo">GIEnumInfo</link>.</p></page>
+<p>Represents a enum value of a <link xref="GIRepository.EnumInfo">GIRepository.EnumInfo</link>.</p>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository._Argument.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository._Argument.page
index 41893502..b5472b97 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository._Argument.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository._Argument.page
@@ -7,4 +7,5 @@
<info>
</info>
<title>GIRepository._Argument</title>
+
</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository._BaseInfoStub.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository._BaseInfoStub.page
index 13b5d801..7d57d63d 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository._BaseInfoStub.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository._BaseInfoStub.page
@@ -7,5 +7,6 @@
<info>
<link type="guide" xref="index"/>
</info>
- <title>GIRepository._BaseInfoStub</title>
+ <title>GIRepository_BaseInfoStub</title>
+ <p>None</p>
</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_closure.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_closure.page
index 2dd6878f..4cc663eb 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_closure.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_closure.page
@@ -1,12 +1,41 @@
<?xml version="1.0"?>
+
<page id="GIRepository.arg_info_get_closure"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gint</api:type>
+ </api:returns>
+ <api:name>g_arg_info_get_closure</api:name>
+ <api:arg>
+ <api:type>GIRepository.ArgInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.arg_info_get_closure</title>
+ <title>arg_info_get_closure</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ArgInfo)
+@returns(gint)
+def arg_info_get_closure(info)
+</code></synopsis>
<p>Obtain the index of the user data argument. This is only valid
-for arguments which are callbacks.</p></page>
+for arguments which are callbacks.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ArgInfo">GIRepository.ArgInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>index of the user data argument or -1 if there is none</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_destroy.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_destroy.page
index 5116162a..be3a4f75 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_destroy.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_destroy.page
@@ -1,12 +1,41 @@
<?xml version="1.0"?>
+
<page id="GIRepository.arg_info_get_destroy"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gint</api:type>
+ </api:returns>
+ <api:name>g_arg_info_get_destroy</api:name>
+ <api:arg>
+ <api:type>GIRepository.ArgInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.arg_info_get_destroy</title>
+ <title>arg_info_get_destroy</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ArgInfo)
+@returns(gint)
+def arg_info_get_destroy(info)
+</code></synopsis>
<p>Obtains the index of the <link xref="GDestroyNotify">GDestroyNotify</link> argument. This is only valid
-for arguments which are callbacks.</p></page>
+for arguments which are callbacks.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ArgInfo">GIRepository.ArgInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>index of the <link xref="GDestroyNotify">GDestroyNotify</link> argument or -1 if there is none</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_direction.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_direction.page
index c17be515..c96c426c 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_direction.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_direction.page
@@ -1,12 +1,41 @@
<?xml version="1.0"?>
+
<page id="GIRepository.arg_info_get_direction"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.Direction</api:type>
+ </api:returns>
+ <api:name>g_arg_info_get_direction</api:name>
+ <api:arg>
+ <api:type>GIRepository.ArgInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.arg_info_get_direction</title>
-<p>Obtain the direction of the argument. Check <link xref="GIDirection">GIDirection</link> for possible
-direction values.</p></page>
+ <title>arg_info_get_direction</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ArgInfo)
+@returns(GIRepository.Direction)
+def arg_info_get_direction(info)
+</code></synopsis>
+<p>Obtain the direction of the argument. Check <link xref="GIRepository.Direction">GIRepository.Direction</link> for possible
+direction values.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ArgInfo">GIRepository.ArgInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the direction</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_ownership_transfer.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_ownership_transfer.page
index a1091c9b..3a7c65eb 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_ownership_transfer.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_ownership_transfer.page
@@ -1,12 +1,41 @@
<?xml version="1.0"?>
+
<page id="GIRepository.arg_info_get_ownership_transfer"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.Transfer</api:type>
+ </api:returns>
+ <api:name>g_arg_info_get_ownership_transfer</api:name>
+ <api:arg>
+ <api:type>GIRepository.ArgInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.arg_info_get_ownership_transfer</title>
+ <title>arg_info_get_ownership_transfer</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ArgInfo)
+@returns(GIRepository.Transfer)
+def arg_info_get_ownership_transfer(info)
+</code></synopsis>
<p>Obtain the ownership transfer for this argument.
-<link xref="GITransfer">GITransfer</link> contains a list of possible values.</p></page>
+<link xref="GIRepository.Transfer">GIRepository.Transfer</link> contains a list of possible values.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ArgInfo">GIRepository.ArgInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the transfer</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_scope.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_scope.page
index f80b184b..63ccc342 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_scope.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_scope.page
@@ -1,14 +1,43 @@
<?xml version="1.0"?>
+
<page id="GIRepository.arg_info_get_scope"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.ScopeType</api:type>
+ </api:returns>
+ <api:name>g_arg_info_get_scope</api:name>
+ <api:arg>
+ <api:type>GIRepository.ArgInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.arg_info_get_scope</title>
+ <title>arg_info_get_scope</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ArgInfo)
+@returns(GIRepository.ScopeType)
+def arg_info_get_scope(info)
+</code></synopsis>
<p>Obtain the scope type for this argument. The scope type explains
how a callback is going to be invoked, most importantly when
the resources required to invoke it can be freed.
-<link xref="GIScopeType">GIScopeType</link> contains a list of possible values.</p></page>
+<link xref="GIRepository.ScopeType">GIRepository.ScopeType</link> contains a list of possible values.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ArgInfo">GIRepository.ArgInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the scope type</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_type.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_type.page
index 7aba6d1d..3b71b73b 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_type.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_type.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.arg_info_get_type"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.TypeInfo</api:type>
+ </api:returns>
+ <api:name>g_arg_info_get_type</api:name>
+ <api:arg>
+ <api:type>GIRepository.ArgInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.arg_info_get_type</title>
-<p>Obtain the type information for @info.</p><p>g_base_info_unref() when done.</p></page>
+ <title>arg_info_get_type</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ArgInfo)
+@returns(GIRepository.TypeInfo)
+def arg_info_get_type(info)
+</code></synopsis>
+<p>Obtain the type information for @info.</p><p>g_base_info_unref() when done.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ArgInfo">GIRepository.ArgInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the <link xref="GIRepository.ArgInfo">GIRepository.ArgInfo</link>, free it with</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_caller_allocates.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_caller_allocates.page
index 4c504555..1f297fcd 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_caller_allocates.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_caller_allocates.page
@@ -1,14 +1,43 @@
<?xml version="1.0"?>
+
<page id="GIRepository.arg_info_is_caller_allocates"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gboolean</api:type>
+ </api:returns>
+ <api:name>g_arg_info_is_caller_allocates</api:name>
+ <api:arg>
+ <api:type>GIRepository.ArgInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.arg_info_is_caller_allocates</title>
+ <title>arg_info_is_caller_allocates</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ArgInfo)
+@returns(gboolean)
+def arg_info_is_caller_allocates(info)
+</code></synopsis>
<p>Obtain if the argument is a pointer to a struct or object that will
receive an output of a function. The default assumption for
%GI_DIRECTION_OUT arguments which have allocation is that the
-callee allocates; if this is %TRUE, then the caller must allocate.</p></page>
+callee allocates; if this is True, then the caller must allocate.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ArgInfo">GIRepository.ArgInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>True if caller is required to have allocated the argument</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_optional.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_optional.page
index 0d87d0ed..91d1988e 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_optional.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_optional.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.arg_info_is_optional"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gboolean</api:type>
+ </api:returns>
+ <api:name>g_arg_info_is_optional</api:name>
+ <api:arg>
+ <api:type>GIRepository.ArgInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.arg_info_is_optional</title>
-<p>Obtain if the argument is optional.</p></page>
+ <title>arg_info_is_optional</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ArgInfo)
+@returns(gboolean)
+def arg_info_is_optional(info)
+</code></synopsis>
+<p>Obtain if the argument is optional.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ArgInfo">GIRepository.ArgInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>True if it is an optional argument</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_return_value.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_return_value.page
index a98a3a62..ccad77e5 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_return_value.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_return_value.page
@@ -1,12 +1,41 @@
<?xml version="1.0"?>
+
<page id="GIRepository.arg_info_is_return_value"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gboolean</api:type>
+ </api:returns>
+ <api:name>g_arg_info_is_return_value</api:name>
+ <api:arg>
+ <api:type>GIRepository.ArgInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.arg_info_is_return_value</title>
+ <title>arg_info_is_return_value</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ArgInfo)
+@returns(gboolean)
+def arg_info_is_return_value(info)
+</code></synopsis>
<p>Obtain if the argument is a return value. It can either be a
-parameter or a return value.</p></page>
+parameter or a return value.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ArgInfo">GIRepository.ArgInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>True if it is a return value</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_skip.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_skip.page
index a4555648..8d26c654 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_skip.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_skip.page
@@ -1,11 +1,41 @@
<?xml version="1.0"?>
+
<page id="GIRepository.arg_info_is_skip"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gboolean</api:type>
+ </api:returns>
+ <api:name>g_arg_info_is_skip</api:name>
+ <api:arg>
+ <api:type>GIRepository.ArgInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.arg_info_is_skip</title>
-<p>Obtain if an argument is only useful in C.</p></page>
+ <title>arg_info_is_skip</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ArgInfo)
+@returns(gboolean)
+def arg_info_is_skip(info)
+</code></synopsis>
+<p>Obtain if an argument is only useful in C.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ArgInfo">GIRepository.ArgInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>True if argument is only useful in C.</p></td>
+</tr>
+</table>
+<p>Since 1.29.0</p>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_load_type.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_load_type.page
index 4dbf8120..27e5ac45 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_load_type.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_load_type.page
@@ -1,13 +1,46 @@
<?xml version="1.0"?>
+
<page id="GIRepository.arg_info_load_type"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>none</api:type>
+ </api:returns>
+ <api:name>g_arg_info_load_type</api:name>
+ <api:arg>
+ <api:type>GIRepository.ArgInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>GIRepository.TypeInfo</api:type>
+ <api:name>type</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.arg_info_load_type</title>
+ <title>arg_info_load_type</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ArgInfo, GIRepository.TypeInfo)
+@returns(none)
+def arg_info_load_type(info, type)
+</code></synopsis>
<p>Obtain information about a the type of given argument @info; this
function is a variant of g_arg_info_get_type() designed for stack
-allocation.</p><p>The initialized @type must not be referenced after @info is deallocated.</p></page>
+allocation.</p><p>The initialized @type must not be referenced after @info is deallocated.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ArgInfo">GIRepository.ArgInfo</link></p></td>
+</tr>
+<tr>
+<td><p>type :</p></td>
+<td><p>Initialized with information about type of @info</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_may_be_null.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_may_be_null.page
index ec2595cb..d9034276 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_may_be_null.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_may_be_null.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.arg_info_may_be_null"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gboolean</api:type>
+ </api:returns>
+ <api:name>g_arg_info_may_be_null</api:name>
+ <api:arg>
+ <api:type>GIRepository.ArgInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.arg_info_may_be_null</title>
-<p>Obtain if the argument accepts %NULL.</p></page>
+ <title>arg_info_may_be_null</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ArgInfo)
+@returns(gboolean)
+def arg_info_may_be_null(info)
+</code></synopsis>
+<p>Obtain if the argument accepts None.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ArgInfo">GIRepository.ArgInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>True if it accepts None</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.base_info_get_type.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.base_info_get_type.page
index d217737a..765af90d 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.base_info_get_type.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.base_info_get_type.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.base_info_get_type"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.InfoType</api:type>
+ </api:returns>
+ <api:name>g_base_info_get_type</api:name>
+ <api:arg>
+ <api:type>GIRepository.BaseInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.base_info_get_type</title>
-<p>Obtain the info type of the GIBaseInfo.</p></page>
+ <title>base_info_get_type</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.BaseInfo)
+@returns(GIRepository.InfoType)
+def base_info_get_type(info)
+</code></synopsis>
+<p>Obtain the info type of the GIBaseInfo.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.BaseInfo">GIRepository.BaseInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the info type of @info</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_arg.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_arg.page
index eca50d15..eb335624 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_arg.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_arg.page
@@ -1,11 +1,48 @@
<?xml version="1.0"?>
+
<page id="GIRepository.callable_info_get_arg"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.ArgInfo</api:type>
+ </api:returns>
+ <api:name>g_callable_info_get_arg</api:name>
+ <api:arg>
+ <api:type>GIRepository.CallableInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>gint</api:type>
+ <api:name>n</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.callable_info_get_arg</title>
-<p>Obtain information about a particular argument of this callable.</p><p>g_base_info_unref() when done.</p></page>
+ <title>callable_info_get_arg</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.CallableInfo, gint)
+@returns(GIRepository.ArgInfo)
+def callable_info_get_arg(info, n)
+</code></synopsis>
+<p>Obtain information about a particular argument of this callable.</p><p>g_base_info_unref() when done.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.CallableInfo">GIRepository.CallableInfo</link></p></td>
+</tr>
+<tr>
+<td><p>n :</p></td>
+<td><p>the argument index to fetch</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the <link xref="GIRepository.ArgInfo">GIRepository.ArgInfo</link>. Free it with</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_caller_owns.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_caller_owns.page
index 730c3ce4..46f340ca 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_caller_owns.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_caller_owns.page
@@ -1,12 +1,41 @@
<?xml version="1.0"?>
+
<page id="GIRepository.callable_info_get_caller_owns"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.Transfer</api:type>
+ </api:returns>
+ <api:name>g_callable_info_get_caller_owns</api:name>
+ <api:arg>
+ <api:type>GIRepository.CallableInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.callable_info_get_caller_owns</title>
+ <title>callable_info_get_caller_owns</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.CallableInfo)
+@returns(GIRepository.Transfer)
+def callable_info_get_caller_owns(info)
+</code></synopsis>
<p>See whether the caller owns the return value of this callable.
-<link xref="GITransfer">GITransfer</link> contains a list of possible transfer values.</p></page>
+<link xref="GIRepository.Transfer">GIRepository.Transfer</link> contains a list of possible transfer values.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.CallableInfo">GIRepository.CallableInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>True if the caller owns the return value, False otherwise.</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_n_args.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_n_args.page
index 1212d82a..831e9fb0 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_n_args.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_n_args.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.callable_info_get_n_args"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gint</api:type>
+ </api:returns>
+ <api:name>g_callable_info_get_n_args</api:name>
+ <api:arg>
+ <api:type>GIRepository.CallableInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.callable_info_get_n_args</title>
-<p>Obtain the number of arguments (both IN and OUT) for this callable.</p></page>
+ <title>callable_info_get_n_args</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.CallableInfo)
+@returns(gint)
+def callable_info_get_n_args(info)
+</code></synopsis>
+<p>Obtain the number of arguments (both IN and OUT) for this callable.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.CallableInfo">GIRepository.CallableInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>The number of arguments this callable expects.</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_return_attribute.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_return_attribute.page
index 99d5139d..52ddc1ba 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_return_attribute.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_return_attribute.page
@@ -1,11 +1,48 @@
<?xml version="1.0"?>
+
<page id="GIRepository.callable_info_get_return_attribute"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>utf8</api:type>
+ </api:returns>
+ <api:name>g_callable_info_get_return_attribute</api:name>
+ <api:arg>
+ <api:type>GIRepository.CallableInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>utf8</api:type>
+ <api:name>name</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.callable_info_get_return_attribute</title>
-<p>Retrieve an arbitrary attribute associated with the return value.</p></page>
+ <title>callable_info_get_return_attribute</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.CallableInfo, utf8)
+@returns(utf8)
+def callable_info_get_return_attribute(info, name)
+</code></synopsis>
+<p>Retrieve an arbitrary attribute associated with the return value.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.CallableInfo">GIRepository.CallableInfo</link></p></td>
+</tr>
+<tr>
+<td><p>name :</p></td>
+<td><p>a freeform string naming an attribute</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>The value of the attribute, or None if no such attribute exists</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_return_type.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_return_type.page
index 653aafa7..e54edfed 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_return_type.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_return_type.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.callable_info_get_return_type"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.TypeInfo</api:type>
+ </api:returns>
+ <api:name>g_callable_info_get_return_type</api:name>
+ <api:arg>
+ <api:type>GIRepository.CallableInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.callable_info_get_return_type</title>
-<p>Obtain the return type of a callable item as a <link xref="GITypeInfo">GITypeInfo</link>.</p><p>g_base_info_unref() when done.</p></page>
+ <title>callable_info_get_return_type</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.CallableInfo)
+@returns(GIRepository.TypeInfo)
+def callable_info_get_return_type(info)
+</code></synopsis>
+<p>Obtain the return type of a callable item as a <link xref="GIRepository.TypeInfo">GIRepository.TypeInfo</link>.</p><p>g_base_info_unref() when done.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.CallableInfo">GIRepository.CallableInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the <link xref="GIRepository.TypeInfo">GIRepository.TypeInfo</link>. Free the struct by calling</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_iterate_return_attributes.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_iterate_return_attributes.page
index 90c923a5..fd04e15e 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_iterate_return_attributes.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_iterate_return_attributes.page
@@ -1,15 +1,68 @@
<?xml version="1.0"?>
+
<page id="GIRepository.callable_info_iterate_return_attributes"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gboolean</api:type>
+ </api:returns>
+ <api:name>g_callable_info_iterate_return_attributes</api:name>
+ <api:arg>
+ <api:type>GIRepository.CallableInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>GIRepository.AttributeIter</api:type>
+ <api:name>iterator</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>utf8</api:type>
+ <api:name>name</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>utf8</api:type>
+ <api:name>value</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.callable_info_iterate_return_attributes</title>
+ <title>callable_info_iterate_return_attributes</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.CallableInfo, GIRepository.AttributeIter, utf8, utf8)
+@returns(gboolean)
+def callable_info_iterate_return_attributes(info, iterator, name, value)
+</code></synopsis>
<p>Iterate over all attributes associated with the return value. The
iterator structure is typically stack allocated, and must have its
-first member initialized to %NULL.</p><p>Both the @name and @value should be treated as constants
+first member initialized to None.</p><p>Both the @name and @value should be treated as constants
and must not be freed.</p><p>See g_base_info_iterate_attributes() for an example of how to use a
-similar API.</p></page>
+similar API.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.CallableInfo">GIRepository.CallableInfo</link></p></td>
+</tr>
+<tr>
+<td><p>iterator :</p></td>
+<td><p>a <link xref="GIRepository.AttributeIter">GIRepository.AttributeIter</link> structure, must be initialized; see below</p></td>
+</tr>
+<tr>
+<td><p>name :</p></td>
+<td><p>Returned name, must not be freed</p></td>
+</tr>
+<tr>
+<td><p>value :</p></td>
+<td><p>Returned name, must not be freed</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>True if there are more attributes</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_load_arg.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_load_arg.page
index 28e7258c..8f3cbcd1 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_load_arg.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_load_arg.page
@@ -1,13 +1,54 @@
<?xml version="1.0"?>
+
<page id="GIRepository.callable_info_load_arg"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>none</api:type>
+ </api:returns>
+ <api:name>g_callable_info_load_arg</api:name>
+ <api:arg>
+ <api:type>GIRepository.CallableInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>gint</api:type>
+ <api:name>n</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>GIRepository.ArgInfo</api:type>
+ <api:name>arg</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.callable_info_load_arg</title>
+ <title>callable_info_load_arg</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.CallableInfo, gint, GIRepository.ArgInfo)
+@returns(none)
+def callable_info_load_arg(info, n, arg)
+</code></synopsis>
<p>Obtain information about a particular argument of this callable; this
function is a variant of g_callable_info_get_arg() designed for stack
-allocation.</p><p>The initialized @arg must not be referenced after @info is deallocated.</p></page>
+allocation.</p><p>The initialized @arg must not be referenced after @info is deallocated.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.CallableInfo">GIRepository.CallableInfo</link></p></td>
+</tr>
+<tr>
+<td><p>n :</p></td>
+<td><p>the argument index to fetch</p></td>
+</tr>
+<tr>
+<td><p>arg :</p></td>
+<td><p>Initialize with argument number @n</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_load_return_type.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_load_return_type.page
index 5176c822..04e7aafe 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_load_return_type.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_load_return_type.page
@@ -1,13 +1,46 @@
<?xml version="1.0"?>
+
<page id="GIRepository.callable_info_load_return_type"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>none</api:type>
+ </api:returns>
+ <api:name>g_callable_info_load_return_type</api:name>
+ <api:arg>
+ <api:type>GIRepository.CallableInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>GIRepository.TypeInfo</api:type>
+ <api:name>type</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.callable_info_load_return_type</title>
+ <title>callable_info_load_return_type</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.CallableInfo, GIRepository.TypeInfo)
+@returns(none)
+def callable_info_load_return_type(info, type)
+</code></synopsis>
<p>Obtain information about a return value of callable; this
function is a variant of g_callable_info_get_return_type() designed for stack
-allocation.</p><p>The initialized @type must not be referenced after @info is deallocated.</p></page>
+allocation.</p><p>The initialized @type must not be referenced after @info is deallocated.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.CallableInfo">GIRepository.CallableInfo</link></p></td>
+</tr>
+<tr>
+<td><p>type :</p></td>
+<td><p>Initialized with return type of @info</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_may_return_null.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_may_return_null.page
index e0523639..8e7c10a8 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_may_return_null.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_may_return_null.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.callable_info_may_return_null"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gboolean</api:type>
+ </api:returns>
+ <api:name>g_callable_info_may_return_null</api:name>
+ <api:arg>
+ <api:type>GIRepository.CallableInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.callable_info_may_return_null</title>
-<p>See if a callable could return %NULL.</p></page>
+ <title>callable_info_may_return_null</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.CallableInfo)
+@returns(gboolean)
+def callable_info_may_return_null(info)
+</code></synopsis>
+<p>See if a callable could return None.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.CallableInfo">GIRepository.CallableInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>True if callable could return None</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_skip_return.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_skip_return.page
index 05a7ea16..48152a32 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_skip_return.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_skip_return.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.callable_info_skip_return"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gboolean</api:type>
+ </api:returns>
+ <api:name>g_callable_info_skip_return</api:name>
+ <api:arg>
+ <api:type>GIRepository.CallableInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.callable_info_skip_return</title>
-<p>See if a callable's return value is only useful in C.</p></page>
+ <title>callable_info_skip_return</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.CallableInfo)
+@returns(gboolean)
+def callable_info_skip_return(info)
+</code></synopsis>
+<p>See if a callable's return value is only useful in C.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.CallableInfo">GIRepository.CallableInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>True if return value is only useful in C.</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.constant_info_free_value.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.constant_info_free_value.page
new file mode 100644
index 00000000..58eb9469
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.constant_info_free_value.page
@@ -0,0 +1,45 @@
+<?xml version="1.0"?>
+
+<page id="GIRepository.constant_info_free_value"
+ type="topic"
+ style="function"
+ xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
+ xmlns:ui="http://projectmallard.org/experimental/ui/">
+ <info>
+ <link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>none</api:type>
+ </api:returns>
+ <api:name>g_constant_info_free_value</api:name>
+ <api:arg>
+ <api:type>GIRepository.ConstantInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>None</api:type>
+ <api:name>value</api:name>
+ </api:arg>
+ </api:function>
+ </info>
+ <title>constant_info_free_value</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ConstantInfo, None)
+@returns(none)
+def constant_info_free_value(info, value)
+</code></synopsis>
+<p>Free the value returned from g_constant_info_get_value().</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ConstantInfo">GIRepository.ConstantInfo</link></p></td>
+</tr>
+<tr>
+<td><p>value :</p></td>
+<td><p>the argument</p></td>
+</tr>
+</table>
+<p>Since 1.30.1</p>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.constant_info_get_type.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.constant_info_get_type.page
index 189e57c5..542313d3 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.constant_info_get_type.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.constant_info_get_type.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.constant_info_get_type"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.TypeInfo</api:type>
+ </api:returns>
+ <api:name>g_constant_info_get_type</api:name>
+ <api:arg>
+ <api:type>GIRepository.ConstantInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.constant_info_get_type</title>
-<p>Obtain the type of the constant as a <link xref="GITypeInfo">GITypeInfo</link>.</p><p>g_base_info_unref() when done.</p></page>
+ <title>constant_info_get_type</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ConstantInfo)
+@returns(GIRepository.TypeInfo)
+def constant_info_get_type(info)
+</code></synopsis>
+<p>Obtain the type of the constant as a <link xref="GIRepository.TypeInfo">GIRepository.TypeInfo</link>.</p><p>g_base_info_unref() when done.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ConstantInfo">GIRepository.ConstantInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the <link xref="GIRepository.TypeInfo">GIRepository.TypeInfo</link>. Free the struct by calling</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.constant_info_get_value.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.constant_info_get_value.page
index a47181ae..6369c8ac 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.constant_info_get_value.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.constant_info_get_value.page
@@ -1,13 +1,51 @@
<?xml version="1.0"?>
+
<page id="GIRepository.constant_info_get_value"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gint</api:type>
+ </api:returns>
+ <api:name>g_constant_info_get_value</api:name>
+ <api:arg>
+ <api:type>GIRepository.ConstantInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>None</api:type>
+ <api:name>value</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.constant_info_get_value</title>
-<p>Obtain the value associated with the <link xref="GIConstantInfo">GIConstantInfo</link> and store it in the
+ <title>constant_info_get_value</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ConstantInfo, None)
+@returns(gint)
+def constant_info_get_value(info, value)
+</code></synopsis>
+<p>Obtain the value associated with the <link xref="GIRepository.ConstantInfo">GIRepository.ConstantInfo</link> and store it in the
@value parameter. @argument needs to be allocated before passing it in.
-The size of the constant value stored in @argument will be returned.</p></page>
+The size of the constant value stored in @argument will be returned.
+Free the value with g_constant_info_free_value().</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ConstantInfo">GIRepository.ConstantInfo</link></p></td>
+</tr>
+<tr>
+<td><p>value :</p></td>
+<td><p>an argument</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>size of the constant</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_error_domain.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_error_domain.page
index 1aa26b40..5ce7a56f 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_error_domain.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_error_domain.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.enum_info_get_error_domain"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>utf8</api:type>
+ </api:returns>
+ <api:name>g_enum_info_get_error_domain</api:name>
+ <api:arg>
+ <api:type>GIRepository.EnumInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.enum_info_get_error_domain</title>
+ <title>enum_info_get_error_domain</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.EnumInfo)
+@returns(utf8)
+def enum_info_get_error_domain(info)
+</code></synopsis>
+
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td></td>
+</tr>
+</table>
</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_method.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_method.page
new file mode 100644
index 00000000..994391a8
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_method.page
@@ -0,0 +1,49 @@
+<?xml version="1.0"?>
+
+<page id="GIRepository.enum_info_get_method"
+ type="topic"
+ style="function"
+ xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
+ xmlns:ui="http://projectmallard.org/experimental/ui/">
+ <info>
+ <link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.FunctionInfo</api:type>
+ </api:returns>
+ <api:name>g_enum_info_get_method</api:name>
+ <api:arg>
+ <api:type>GIRepository.EnumInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>gint</api:type>
+ <api:name>n</api:name>
+ </api:arg>
+ </api:function>
+ </info>
+ <title>enum_info_get_method</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.EnumInfo, gint)
+@returns(GIRepository.FunctionInfo)
+def enum_info_get_method(info, n)
+</code></synopsis>
+<p>Obtain an enum type method at index @n.</p><p>g_base_info_unref() when done.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.EnumInfo">GIRepository.EnumInfo</link></p></td>
+</tr>
+<tr>
+<td><p>n :</p></td>
+<td><p>index of method to get</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the <link xref="GIRepository.FunctionInfo">GIRepository.FunctionInfo</link>. Free the struct by calling</p></td>
+</tr>
+</table>
+<p>Since 1.29.17</p>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_n_methods.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_n_methods.page
new file mode 100644
index 00000000..e4986277
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_n_methods.page
@@ -0,0 +1,41 @@
+<?xml version="1.0"?>
+
+<page id="GIRepository.enum_info_get_n_methods"
+ type="topic"
+ style="function"
+ xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
+ xmlns:ui="http://projectmallard.org/experimental/ui/">
+ <info>
+ <link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gint</api:type>
+ </api:returns>
+ <api:name>g_enum_info_get_n_methods</api:name>
+ <api:arg>
+ <api:type>GIRepository.EnumInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
+ </info>
+ <title>enum_info_get_n_methods</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.EnumInfo)
+@returns(gint)
+def enum_info_get_n_methods(info)
+</code></synopsis>
+<p>Obtain the number of methods that this enum type has.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.EnumInfo">GIRepository.EnumInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>number of methods</p></td>
+</tr>
+</table>
+<p>Since 1.29.17</p>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_n_values.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_n_values.page
index 3fdbc5d4..bb14b4eb 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_n_values.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_n_values.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.enum_info_get_n_values"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gint</api:type>
+ </api:returns>
+ <api:name>g_enum_info_get_n_values</api:name>
+ <api:arg>
+ <api:type>GIRepository.EnumInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.enum_info_get_n_values</title>
+ <title>enum_info_get_n_values</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.EnumInfo)
+@returns(gint)
+def enum_info_get_n_values(info)
+</code></synopsis>
+
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td></td>
+</tr>
+</table>
</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_storage_type.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_storage_type.page
index 6d827b81..e9076cca 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_storage_type.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_storage_type.page
@@ -1,15 +1,44 @@
<?xml version="1.0"?>
+
<page id="GIRepository.enum_info_get_storage_type"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.TypeTag</api:type>
+ </api:returns>
+ <api:name>g_enum_info_get_storage_type</api:name>
+ <api:arg>
+ <api:type>GIRepository.EnumInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.enum_info_get_storage_type</title>
+ <title>enum_info_get_storage_type</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.EnumInfo)
+@returns(GIRepository.TypeTag)
+def enum_info_get_storage_type(info)
+</code></synopsis>
<p>Obtain the tag of the type used for the enum in the C ABI. This will
will be a signed or unsigned integral type.
Note that in the current implementation the width of the type is
computed correctly, but the signed or unsigned nature of the type
-may not match the sign of the type used by the C compiler.</p></page>
+may not match the sign of the type used by the C compiler.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.EnumInfo">GIRepository.EnumInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the storage type for the enumeration</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_value.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_value.page
index bcb571ef..06fc6c95 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_value.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_value.page
@@ -1,11 +1,48 @@
<?xml version="1.0"?>
+
<page id="GIRepository.enum_info_get_value"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.ValueInfo</api:type>
+ </api:returns>
+ <api:name>g_enum_info_get_value</api:name>
+ <api:arg>
+ <api:type>GIRepository.EnumInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>gint</api:type>
+ <api:name>n</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.enum_info_get_value</title>
-<p>Obtain a value for this enumeration.</p><p>free the struct with g_base_info_unref() when done.</p></page>
+ <title>enum_info_get_value</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.EnumInfo, gint)
+@returns(GIRepository.ValueInfo)
+def enum_info_get_value(info, n)
+</code></synopsis>
+<p>Obtain a value for this enumeration.</p><p>free the struct with g_base_info_unref() when done.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.EnumInfo">GIRepository.EnumInfo</link></p></td>
+</tr>
+<tr>
+<td><p>n :</p></td>
+<td><p>index of value to fetch</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the enumeration value or None if type tag is wrong,</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_field.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_field.page
index e824aa21..a9d26dab 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_field.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_field.page
@@ -1,14 +1,59 @@
<?xml version="1.0"?>
+
<page id="GIRepository.field_info_get_field"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gboolean</api:type>
+ </api:returns>
+ <api:name>g_field_info_get_field</api:name>
+ <api:arg>
+ <api:type>GIRepository.FieldInfo</api:type>
+ <api:name>field_info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>gpointer</api:type>
+ <api:name>mem</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>None</api:type>
+ <api:name>value</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.field_info_get_field</title>
+ <title>field_info_get_field</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.FieldInfo, gpointer, None)
+@returns(gboolean)
+def field_info_get_field(field_info, mem, value)
+</code></synopsis>
<p>Reads a field identified by a <link xref="GFieldInfo">GFieldInfo</link> from a C structure or
union. This only handles fields of simple C types. It will fail
for a field of a composite type like a nested structure or union
-even if that is actually readable.</p></page>
+even if that is actually readable.</p>
+
+<table>
+<tr>
+<td><p>field_info :</p></td>
+<td><p>a <link xref="GIRepository.FieldInfo">GIRepository.FieldInfo</link></p></td>
+</tr>
+<tr>
+<td><p>mem :</p></td>
+<td><p>pointer to a block of memory representing a C structure or union</p></td>
+</tr>
+<tr>
+<td><p>value :</p></td>
+<td><p>a <link xref="GIArgument">GIArgument</link> into which to store the value retrieved</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>True if reading the field succeeded, otherwise False</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_flags.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_flags.page
index 88ceae7a..d5ce386c 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_flags.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_flags.page
@@ -1,12 +1,41 @@
<?xml version="1.0"?>
+
<page id="GIRepository.field_info_get_flags"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.FieldInfoFlags</api:type>
+ </api:returns>
+ <api:name>g_field_info_get_flags</api:name>
+ <api:arg>
+ <api:type>GIRepository.FieldInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.field_info_get_flags</title>
-<p>Obtain the flags for this <link xref="GIFieldInfo">GIFieldInfo</link>. See <link xref="GIFieldInfoFlags">GIFieldInfoFlags</link> for possible
-flag values.</p></page>
+ <title>field_info_get_flags</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.FieldInfo)
+@returns(GIRepository.FieldInfoFlags)
+def field_info_get_flags(info)
+</code></synopsis>
+<p>Obtain the flags for this <link xref="GIRepository.FieldInfo">GIRepository.FieldInfo</link>. See <link xref="GIRepository.FieldInfoFlags">GIRepository.FieldInfoFlags</link> for possible
+flag values.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.FieldInfo">GIRepository.FieldInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the flags</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_offset.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_offset.page
index e7fe1962..97434ebf 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_offset.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_offset.page
@@ -1,12 +1,41 @@
<?xml version="1.0"?>
+
<page id="GIRepository.field_info_get_offset"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gint</api:type>
+ </api:returns>
+ <api:name>g_field_info_get_offset</api:name>
+ <api:arg>
+ <api:type>GIRepository.FieldInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.field_info_get_offset</title>
+ <title>field_info_get_offset</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.FieldInfo)
+@returns(gint)
+def field_info_get_offset(info)
+</code></synopsis>
<p>Obtain the offset in bits of the field member, this is relative
-to the beginning of the struct or union.</p></page>
+to the beginning of the struct or union.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.FieldInfo">GIRepository.FieldInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the field offset</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_size.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_size.page
index 0561b65a..19f80ecc 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_size.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_size.page
@@ -1,12 +1,41 @@
<?xml version="1.0"?>
+
<page id="GIRepository.field_info_get_size"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gint</api:type>
+ </api:returns>
+ <api:name>g_field_info_get_size</api:name>
+ <api:arg>
+ <api:type>GIRepository.FieldInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.field_info_get_size</title>
+ <title>field_info_get_size</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.FieldInfo)
+@returns(gint)
+def field_info_get_size(info)
+</code></synopsis>
<p>Obtain the size in bits of the field member, this is how
-much space you need to allocate to store the field.</p></page>
+much space you need to allocate to store the field.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.FieldInfo">GIRepository.FieldInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the field size</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_type.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_type.page
index eca27986..f001fcaf 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_type.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_type.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.field_info_get_type"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.TypeInfo</api:type>
+ </api:returns>
+ <api:name>g_field_info_get_type</api:name>
+ <api:arg>
+ <api:type>GIRepository.FieldInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.field_info_get_type</title>
-<p>Obtain the type of a field as a <link xref="GITypeInfo">GITypeInfo</link>.</p><p>g_base_info_unref() when done.</p></page>
+ <title>field_info_get_type</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.FieldInfo)
+@returns(GIRepository.TypeInfo)
+def field_info_get_type(info)
+</code></synopsis>
+<p>Obtain the type of a field as a <link xref="GIRepository.TypeInfo">GIRepository.TypeInfo</link>.</p><p>g_base_info_unref() when done.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.FieldInfo">GIRepository.FieldInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the <link xref="GIRepository.TypeInfo">GIRepository.TypeInfo</link>. Free the struct by calling</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_set_field.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_set_field.page
index ddee9b31..e4a3ee1f 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_set_field.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_set_field.page
@@ -1,16 +1,61 @@
<?xml version="1.0"?>
+
<page id="GIRepository.field_info_set_field"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gboolean</api:type>
+ </api:returns>
+ <api:name>g_field_info_set_field</api:name>
+ <api:arg>
+ <api:type>GIRepository.FieldInfo</api:type>
+ <api:name>field_info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>gpointer</api:type>
+ <api:name>mem</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>None</api:type>
+ <api:name>value</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.field_info_set_field</title>
+ <title>field_info_set_field</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.FieldInfo, gpointer, None)
+@returns(gboolean)
+def field_info_set_field(field_info, mem, value)
+</code></synopsis>
<p>Writes a field identified by a <link xref="GFieldInfo">GFieldInfo</link> to a C structure or
union. This only handles fields of simple C types. It will fail
for a field of a composite type like a nested structure or union
even if that is actually writable. Note also that that it will refuse
to write fields where memory management would by required. A field
-with a type such as 'char *' must be set with a setter function.</p></page>
+with a type such as 'char *' must be set with a setter function.</p>
+
+<table>
+<tr>
+<td><p>field_info :</p></td>
+<td><p>a <link xref="GIRepository.FieldInfo">GIRepository.FieldInfo</link></p></td>
+</tr>
+<tr>
+<td><p>mem :</p></td>
+<td><p>pointer to a block of memory representing a C structure or union</p></td>
+</tr>
+<tr>
+<td><p>value :</p></td>
+<td><p>a <link xref="GIArgument">GIArgument</link> holding the value to store</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>True if writing the field succeeded, otherwise False</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_flags.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_flags.page
index 5d210e83..fd08039c 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_flags.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_flags.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.function_info_get_flags"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.FunctionInfoFlags</api:type>
+ </api:returns>
+ <api:name>g_function_info_get_flags</api:name>
+ <api:arg>
+ <api:type>GIRepository.FunctionInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.function_info_get_flags</title>
-<p>Obtain the <link xref="GIFunctionInfoFlags">GIFunctionInfoFlags</link> for the @info.</p></page>
+ <title>function_info_get_flags</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.FunctionInfo)
+@returns(GIRepository.FunctionInfoFlags)
+def function_info_get_flags(info)
+</code></synopsis>
+<p>Obtain the <link xref="GIRepository.FunctionInfoFlags">GIRepository.FunctionInfoFlags</link> for the @info.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.FunctionInfo">GIRepository.FunctionInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the flags</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_property.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_property.page
index 2a7da64c..45b8a82e 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_property.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_property.page
@@ -1,14 +1,43 @@
<?xml version="1.0"?>
+
<page id="GIRepository.function_info_get_property"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.PropertyInfo</api:type>
+ </api:returns>
+ <api:name>g_function_info_get_property</api:name>
+ <api:arg>
+ <api:type>GIRepository.FunctionInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.function_info_get_property</title>
-<p>Obtain the property associated with this <link xref="GIFunctionInfo">GIFunctionInfo</link>.
-Only <link xref="GIFunctionInfo">GIFunctionInfo</link> with the flag %GI_FUNCTION_IS_GETTER or
+ <title>function_info_get_property</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.FunctionInfo)
+@returns(GIRepository.PropertyInfo)
+def function_info_get_property(info)
+</code></synopsis>
+<p>Obtain the property associated with this <link xref="GIRepository.FunctionInfo">GIRepository.FunctionInfo</link>.
+Only <link xref="GIRepository.FunctionInfo">GIRepository.FunctionInfo</link> with the flag %GI_FUNCTION_IS_GETTER or
%GI_FUNCTION_IS_SETTER have a property set. For other cases,
-%NULL will be returned.</p><p>g_base_info_unref() when done.</p></page>
+None will be returned.</p><p>g_base_info_unref() when done.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.FunctionInfo">GIRepository.FunctionInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the property or None if not set. Free it with</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_symbol.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_symbol.page
index 8ec516c8..fffd2485 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_symbol.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_symbol.page
@@ -1,13 +1,42 @@
<?xml version="1.0"?>
+
<page id="GIRepository.function_info_get_symbol"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>utf8</api:type>
+ </api:returns>
+ <api:name>g_function_info_get_symbol</api:name>
+ <api:arg>
+ <api:type>GIRepository.FunctionInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.function_info_get_symbol</title>
+ <title>function_info_get_symbol</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.FunctionInfo)
+@returns(utf8)
+def function_info_get_symbol(info)
+</code></synopsis>
<p>Obtain the symbol of the function. The symbol is the name of the
exported function, suitable to be used as an argument to
-g_module_symbol().</p></page>
+g_module_symbol().</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.FunctionInfo">GIRepository.FunctionInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the symbol</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_vfunc.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_vfunc.page
index 2380c62c..e7ba3c8a 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_vfunc.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_vfunc.page
@@ -1,13 +1,42 @@
<?xml version="1.0"?>
+
<page id="GIRepository.function_info_get_vfunc"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.VFuncInfo</api:type>
+ </api:returns>
+ <api:name>g_function_info_get_vfunc</api:name>
+ <api:arg>
+ <api:type>GIRepository.FunctionInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.function_info_get_vfunc</title>
-<p>Obtain the virtual function associated with this <link xref="GIFunctionInfo">GIFunctionInfo</link>.
-Only <link xref="GIFunctionInfo">GIFunctionInfo</link> with the flag %GI_FUNCTION_WRAPS_VFUNC has
-a virtual function set. For other cases, %NULL will be returned.</p><p>Free it by calling g_base_info_unref() when done.</p></page>
+ <title>function_info_get_vfunc</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.FunctionInfo)
+@returns(GIRepository.VFuncInfo)
+def function_info_get_vfunc(info)
+</code></synopsis>
+<p>Obtain the virtual function associated with this <link xref="GIRepository.FunctionInfo">GIRepository.FunctionInfo</link>.
+Only <link xref="GIRepository.FunctionInfo">GIRepository.FunctionInfo</link> with the flag %GI_FUNCTION_WRAPS_VFUNC has
+a virtual function set. For other cases, None will be returned.</p><p>Free it by calling g_base_info_unref() when done.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.FunctionInfo">GIRepository.FunctionInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the virtual function or None if not set.</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_invoke.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_invoke.page
index 8aedc49f..0ad45094 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_invoke.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_invoke.page
@@ -1,16 +1,85 @@
<?xml version="1.0"?>
+
<page id="GIRepository.function_info_invoke"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gboolean</api:type>
+ </api:returns>
+ <api:name>g_function_info_invoke</api:name>
+ <api:arg>
+ <api:type>GIRepository.FunctionInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>None</api:type>
+ <api:name>in_args</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>gint</api:type>
+ <api:name>n_in_args</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>None</api:type>
+ <api:name>out_args</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>gint</api:type>
+ <api:name>n_out_args</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>None</api:type>
+ <api:name>return_value</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.function_info_invoke</title>
+ <title>function_info_invoke</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.FunctionInfo, None, gint, None, gint, None)
+@returns(gboolean)
+def function_info_invoke(info, in_args, n_in_args, out_args, n_out_args, return_value)
+</code></synopsis>
<p>Invokes the function described in @info with the given
arguments. Note that inout parameters must appear in both
argument lists. This function uses dlsym() to obtain a pointer
to the function, so the library or shared object containing the
described function must either be linked to the caller, or must
-have been g_module_symbol()&lt;!-- --&gt;ed before calling this function.</p><p>error occurred.</p></page>
+have been g_module_symbol()&lt;!-- --&gt;ed before calling this function.</p><p>error occurred.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.FunctionInfo">GIRepository.FunctionInfo</link> describing the function to invoke</p></td>
+</tr>
+<tr>
+<td><p>in_args :</p></td>
+<td><p>an array of <link xref="GIArgument">GIArgument</link>&lt;!-- --&gt;s, one for each in parameter of @info. If there are no in parameter, @in_args can be None</p></td>
+</tr>
+<tr>
+<td><p>n_in_args :</p></td>
+<td><p>the length of the @in_args array</p></td>
+</tr>
+<tr>
+<td><p>out_args :</p></td>
+<td><p>an array of <link xref="GIArgument">GIArgument</link>&lt;!-- --&gt;s, one for each out parameter of @info. If there are no out parameters, @out_args may be None</p></td>
+</tr>
+<tr>
+<td><p>n_out_args :</p></td>
+<td><p>the length of the @out_args array</p></td>
+</tr>
+<tr>
+<td><p>return_value :</p></td>
+<td><p>return location for the return value of the function. If the function returns void, @return_value may be None</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>True if the function has been invoked, False if an</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.info_new.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.info_new.page
index f7c61679..79730416 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.info_new.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.info_new.page
@@ -1,11 +1,64 @@
<?xml version="1.0"?>
+
<page id="GIRepository.info_new"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.BaseInfo</api:type>
+ </api:returns>
+ <api:name>g_info_new</api:name>
+ <api:arg>
+ <api:type>GIRepository.InfoType</api:type>
+ <api:name>type</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>GIRepository.BaseInfo</api:type>
+ <api:name>container</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>GIRepository.Typelib</api:type>
+ <api:name>typelib</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>guint32</api:type>
+ <api:name>offset</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.info_new</title>
+ <title>info_new</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.InfoType, GIRepository.BaseInfo, GIRepository.Typelib, guint32)
+@returns(GIRepository.BaseInfo)
+def info_new(type, container, typelib, offset)
+</code></synopsis>
+
+
+<table>
+<tr>
+<td><p>type :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>container :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>typelib :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>offset :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td></td>
+</tr>
+</table>
</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.info_type_to_string.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.info_type_to_string.page
index c671368b..5b12439d 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.info_type_to_string.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.info_type_to_string.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.info_type_to_string"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>utf8</api:type>
+ </api:returns>
+ <api:name>g_info_type_to_string</api:name>
+ <api:arg>
+ <api:type>GIRepository.InfoType</api:type>
+ <api:name>type</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.info_type_to_string</title>
-<p>Obtain a string representation of @type</p></page>
+ <title>info_type_to_string</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.InfoType)
+@returns(utf8)
+def info_type_to_string(type)
+</code></synopsis>
+<p>Obtain a string representation of @type</p>
+
+<table>
+<tr>
+<td><p>type :</p></td>
+<td><p>the info type</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the string</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_find_method.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_find_method.page
index 4f811344..be95a519 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_find_method.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_find_method.page
@@ -1,12 +1,49 @@
<?xml version="1.0"?>
+
<page id="GIRepository.interface_info_find_method"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.FunctionInfo</api:type>
+ </api:returns>
+ <api:name>g_interface_info_find_method</api:name>
+ <api:arg>
+ <api:type>GIRepository.InterfaceInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>utf8</api:type>
+ <api:name>name</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.interface_info_find_method</title>
-<p>Obtain a method of the interface type given a @name. %NULL will be
-returned if there's no method available with that name.</p><p>Free the struct by calling g_base_info_unref() when done.</p></page>
+ <title>interface_info_find_method</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.InterfaceInfo, utf8)
+@returns(GIRepository.FunctionInfo)
+def interface_info_find_method(info, name)
+</code></synopsis>
+<p>Obtain a method of the interface type given a @name. None will be
+returned if there's no method available with that name.</p><p>Free the struct by calling g_base_info_unref() when done.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.InterfaceInfo">GIRepository.InterfaceInfo</link></p></td>
+</tr>
+<tr>
+<td><p>name :</p></td>
+<td><p>name of method to obtain</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the <link xref="GIRepository.FunctionInfo">GIRepository.FunctionInfo</link> or None if none found.</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_find_vfunc.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_find_vfunc.page
index b431977d..b23e4e43 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_find_vfunc.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_find_vfunc.page
@@ -1,12 +1,49 @@
<?xml version="1.0"?>
+
<page id="GIRepository.interface_info_find_vfunc"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.VFuncInfo</api:type>
+ </api:returns>
+ <api:name>g_interface_info_find_vfunc</api:name>
+ <api:arg>
+ <api:type>GIRepository.InterfaceInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>utf8</api:type>
+ <api:name>name</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.interface_info_find_vfunc</title>
+ <title>interface_info_find_vfunc</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.InterfaceInfo, utf8)
+@returns(GIRepository.VFuncInfo)
+def interface_info_find_vfunc(info, name)
+</code></synopsis>
<p>Locate a virtual function slot with name @name. See the documentation
-for g_object_info_find_vfunc() for more information on virtuals.</p><p>g_base_info_unref() when done.</p></page>
+for g_object_info_find_vfunc() for more information on virtuals.</p><p>g_base_info_unref() when done.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.InterfaceInfo">GIRepository.InterfaceInfo</link></p></td>
+</tr>
+<tr>
+<td><p>name :</p></td>
+<td><p>The name of a virtual function to find.</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the <link xref="GIRepository.VFuncInfo">GIRepository.VFuncInfo</link>, or None. Free it with</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_constant.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_constant.page
index 2346fde5..5b3fbcef 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_constant.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_constant.page
@@ -1,11 +1,48 @@
<?xml version="1.0"?>
+
<page id="GIRepository.interface_info_get_constant"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.ConstantInfo</api:type>
+ </api:returns>
+ <api:name>g_interface_info_get_constant</api:name>
+ <api:arg>
+ <api:type>GIRepository.InterfaceInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>gint</api:type>
+ <api:name>n</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.interface_info_get_constant</title>
-<p>Obtain an interface type constant at index @n.</p><p>g_base_info_unref() when done.</p></page>
+ <title>interface_info_get_constant</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.InterfaceInfo, gint)
+@returns(GIRepository.ConstantInfo)
+def interface_info_get_constant(info, n)
+</code></synopsis>
+<p>Obtain an interface type constant at index @n.</p><p>g_base_info_unref() when done.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.InterfaceInfo">GIRepository.InterfaceInfo</link></p></td>
+</tr>
+<tr>
+<td><p>n :</p></td>
+<td><p>index of constant to get</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the <link xref="GIRepository.ConstantInfo">GIRepository.ConstantInfo</link>. Free the struct by calling</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_iface_struct.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_iface_struct.page
index d1d93f13..571bbde9 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_iface_struct.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_iface_struct.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.interface_info_get_iface_struct"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.StructInfo</api:type>
+ </api:returns>
+ <api:name>g_interface_info_get_iface_struct</api:name>
+ <api:arg>
+ <api:type>GIRepository.InterfaceInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.interface_info_get_iface_struct</title>
-<p>Returns the layout C structure associated with this <link xref="GInterface">GInterface</link>.</p><p>g_base_info_unref() when done.</p></page>
+ <title>interface_info_get_iface_struct</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.InterfaceInfo)
+@returns(GIRepository.StructInfo)
+def interface_info_get_iface_struct(info)
+</code></synopsis>
+<p>Returns the layout C structure associated with this <link xref="GInterface">GInterface</link>.</p><p>g_base_info_unref() when done.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.InterfaceInfo">GIRepository.InterfaceInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the <link xref="GIRepository.StructInfo">GIRepository.StructInfo</link> or None. Free it with</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_method.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_method.page
index bd43e4ff..760a0963 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_method.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_method.page
@@ -1,11 +1,48 @@
<?xml version="1.0"?>
+
<page id="GIRepository.interface_info_get_method"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.FunctionInfo</api:type>
+ </api:returns>
+ <api:name>g_interface_info_get_method</api:name>
+ <api:arg>
+ <api:type>GIRepository.InterfaceInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>gint</api:type>
+ <api:name>n</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.interface_info_get_method</title>
-<p>Obtain an interface type method at index @n.</p><p>g_base_info_unref() when done.</p></page>
+ <title>interface_info_get_method</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.InterfaceInfo, gint)
+@returns(GIRepository.FunctionInfo)
+def interface_info_get_method(info, n)
+</code></synopsis>
+<p>Obtain an interface type method at index @n.</p><p>g_base_info_unref() when done.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.InterfaceInfo">GIRepository.InterfaceInfo</link></p></td>
+</tr>
+<tr>
+<td><p>n :</p></td>
+<td><p>index of method to get</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the <link xref="GIRepository.FunctionInfo">GIRepository.FunctionInfo</link>. Free the struct by calling</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_constants.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_constants.page
index 2e20aafc..a574e0cc 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_constants.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_constants.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.interface_info_get_n_constants"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gint</api:type>
+ </api:returns>
+ <api:name>g_interface_info_get_n_constants</api:name>
+ <api:arg>
+ <api:type>GIRepository.InterfaceInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.interface_info_get_n_constants</title>
-<p>Obtain the number of constants that this interface type has.</p></page>
+ <title>interface_info_get_n_constants</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.InterfaceInfo)
+@returns(gint)
+def interface_info_get_n_constants(info)
+</code></synopsis>
+<p>Obtain the number of constants that this interface type has.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.InterfaceInfo">GIRepository.InterfaceInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>number of constants</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_methods.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_methods.page
index a2769ae6..ba351b3a 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_methods.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_methods.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.interface_info_get_n_methods"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gint</api:type>
+ </api:returns>
+ <api:name>g_interface_info_get_n_methods</api:name>
+ <api:arg>
+ <api:type>GIRepository.InterfaceInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.interface_info_get_n_methods</title>
-<p>Obtain the number of methods that this interface type has.</p></page>
+ <title>interface_info_get_n_methods</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.InterfaceInfo)
+@returns(gint)
+def interface_info_get_n_methods(info)
+</code></synopsis>
+<p>Obtain the number of methods that this interface type has.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.InterfaceInfo">GIRepository.InterfaceInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>number of methods</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_prerequisites.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_prerequisites.page
index a356a156..70db1464 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_prerequisites.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_prerequisites.page
@@ -1,13 +1,42 @@
<?xml version="1.0"?>
+
<page id="GIRepository.interface_info_get_n_prerequisites"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gint</api:type>
+ </api:returns>
+ <api:name>g_interface_info_get_n_prerequisites</api:name>
+ <api:arg>
+ <api:type>GIRepository.InterfaceInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.interface_info_get_n_prerequisites</title>
+ <title>interface_info_get_n_prerequisites</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.InterfaceInfo)
+@returns(gint)
+def interface_info_get_n_prerequisites(info)
+</code></synopsis>
<p>Obtain the number of prerequisites for this interface type.
A prerequisites is another interface that needs to be implemented for
-interface, similar to an base class for GObjects.</p></page>
+interface, similar to an base class for GObjects.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.InterfaceInfo">GIRepository.InterfaceInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>number of prerequisites</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_properties.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_properties.page
index 2db72af8..6c9502de 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_properties.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_properties.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.interface_info_get_n_properties"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gint</api:type>
+ </api:returns>
+ <api:name>g_interface_info_get_n_properties</api:name>
+ <api:arg>
+ <api:type>GIRepository.InterfaceInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.interface_info_get_n_properties</title>
-<p>Obtain the number of properties that this interface type has.</p></page>
+ <title>interface_info_get_n_properties</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.InterfaceInfo)
+@returns(gint)
+def interface_info_get_n_properties(info)
+</code></synopsis>
+<p>Obtain the number of properties that this interface type has.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.InterfaceInfo">GIRepository.InterfaceInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>number of properties</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_signals.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_signals.page
index 1b66f951..1174ec4e 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_signals.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_signals.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.interface_info_get_n_signals"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gint</api:type>
+ </api:returns>
+ <api:name>g_interface_info_get_n_signals</api:name>
+ <api:arg>
+ <api:type>GIRepository.InterfaceInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.interface_info_get_n_signals</title>
-<p>Obtain the number of signals that this interface type has.</p></page>
+ <title>interface_info_get_n_signals</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.InterfaceInfo)
+@returns(gint)
+def interface_info_get_n_signals(info)
+</code></synopsis>
+<p>Obtain the number of signals that this interface type has.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.InterfaceInfo">GIRepository.InterfaceInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>number of signals</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_vfuncs.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_vfuncs.page
index 12564d77..62c0bc10 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_vfuncs.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_vfuncs.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.interface_info_get_n_vfuncs"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gint</api:type>
+ </api:returns>
+ <api:name>g_interface_info_get_n_vfuncs</api:name>
+ <api:arg>
+ <api:type>GIRepository.InterfaceInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.interface_info_get_n_vfuncs</title>
-<p>Obtain the number of virtual functions that this interface type has.</p></page>
+ <title>interface_info_get_n_vfuncs</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.InterfaceInfo)
+@returns(gint)
+def interface_info_get_n_vfuncs(info)
+</code></synopsis>
+<p>Obtain the number of virtual functions that this interface type has.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.InterfaceInfo">GIRepository.InterfaceInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>number of virtual functions</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_prerequisite.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_prerequisite.page
index 53fb1c16..2dea057c 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_prerequisite.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_prerequisite.page
@@ -1,11 +1,48 @@
<?xml version="1.0"?>
+
<page id="GIRepository.interface_info_get_prerequisite"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.BaseInfo</api:type>
+ </api:returns>
+ <api:name>g_interface_info_get_prerequisite</api:name>
+ <api:arg>
+ <api:type>GIRepository.InterfaceInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>gint</api:type>
+ <api:name>n</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.interface_info_get_prerequisite</title>
-<p>Obtain an interface type prerequisites index @n.</p><p>g_base_info_unref() when done.</p></page>
+ <title>interface_info_get_prerequisite</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.InterfaceInfo, gint)
+@returns(GIRepository.BaseInfo)
+def interface_info_get_prerequisite(info, n)
+</code></synopsis>
+<p>Obtain an interface type prerequisites index @n.</p><p>g_base_info_unref() when done.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.InterfaceInfo">GIRepository.InterfaceInfo</link></p></td>
+</tr>
+<tr>
+<td><p>n :</p></td>
+<td><p>index of prerequisites to get</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the prerequisites as a <link xref="GIRepository.BaseInfo">GIRepository.BaseInfo</link>. Free the struct by calling</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_property.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_property.page
index 81ba56b9..6cff4155 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_property.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_property.page
@@ -1,11 +1,48 @@
<?xml version="1.0"?>
+
<page id="GIRepository.interface_info_get_property"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.PropertyInfo</api:type>
+ </api:returns>
+ <api:name>g_interface_info_get_property</api:name>
+ <api:arg>
+ <api:type>GIRepository.InterfaceInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>gint</api:type>
+ <api:name>n</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.interface_info_get_property</title>
-<p>Obtain an interface type property at index @n.</p><p>g_base_info_unref() when done.</p></page>
+ <title>interface_info_get_property</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.InterfaceInfo, gint)
+@returns(GIRepository.PropertyInfo)
+def interface_info_get_property(info, n)
+</code></synopsis>
+<p>Obtain an interface type property at index @n.</p><p>g_base_info_unref() when done.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.InterfaceInfo">GIRepository.InterfaceInfo</link></p></td>
+</tr>
+<tr>
+<td><p>n :</p></td>
+<td><p>index of property to get</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the <link xref="GIRepository.PropertyInfo">GIRepository.PropertyInfo</link>. Free the struct by calling</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_signal.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_signal.page
index 08e6b259..f46af599 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_signal.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_signal.page
@@ -1,11 +1,48 @@
<?xml version="1.0"?>
+
<page id="GIRepository.interface_info_get_signal"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.SignalInfo</api:type>
+ </api:returns>
+ <api:name>g_interface_info_get_signal</api:name>
+ <api:arg>
+ <api:type>GIRepository.InterfaceInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>gint</api:type>
+ <api:name>n</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.interface_info_get_signal</title>
-<p>Obtain an interface type signal at index @n.</p><p>g_base_info_unref() when done.</p></page>
+ <title>interface_info_get_signal</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.InterfaceInfo, gint)
+@returns(GIRepository.SignalInfo)
+def interface_info_get_signal(info, n)
+</code></synopsis>
+<p>Obtain an interface type signal at index @n.</p><p>g_base_info_unref() when done.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.InterfaceInfo">GIRepository.InterfaceInfo</link></p></td>
+</tr>
+<tr>
+<td><p>n :</p></td>
+<td><p>index of signal to get</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the <link xref="GIRepository.SignalInfo">GIRepository.SignalInfo</link>. Free the struct by calling</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_vfunc.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_vfunc.page
index 1ad94ab8..58b6809b 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_vfunc.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_vfunc.page
@@ -1,11 +1,48 @@
<?xml version="1.0"?>
+
<page id="GIRepository.interface_info_get_vfunc"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.VFuncInfo</api:type>
+ </api:returns>
+ <api:name>g_interface_info_get_vfunc</api:name>
+ <api:arg>
+ <api:type>GIRepository.InterfaceInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>gint</api:type>
+ <api:name>n</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.interface_info_get_vfunc</title>
-<p>Obtain an interface type virtual function at index @n.</p><p>g_base_info_unref() when done.</p></page>
+ <title>interface_info_get_vfunc</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.InterfaceInfo, gint)
+@returns(GIRepository.VFuncInfo)
+def interface_info_get_vfunc(info, n)
+</code></synopsis>
+<p>Obtain an interface type virtual function at index @n.</p><p>g_base_info_unref() when done.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.InterfaceInfo">GIRepository.InterfaceInfo</link></p></td>
+</tr>
+<tr>
+<td><p>n :</p></td>
+<td><p>index of virtual function to get</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the <link xref="GIRepository.VFuncInfo">GIRepository.VFuncInfo</link>. Free the struct by calling</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.invoke_error_quark.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.invoke_error_quark.page
index f7b9ba06..a1bea3d4 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.invoke_error_quark.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.invoke_error_quark.page
@@ -1,11 +1,31 @@
<?xml version="1.0"?>
+
<page id="GIRepository.invoke_error_quark"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GLib.Quark</api:type>
+ </api:returns>
+ <api:name>g_invoke_error_quark</api:name>
+ </api:function>
</info>
- <title>GIRepository.invoke_error_quark</title>
+ <title>invoke_error_quark</title>
+<synopsis><code mime="text/x-python">
+@returns(GLib.Quark)
+def invoke_error_quark()
+</code></synopsis>
+
+
+<table>
+<tr>
+<td><p>Returns :</p></td>
+<td></td>
+</tr>
+</table>
</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.nvokeError.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.nvokeError.page
index e71aca50..9cd1c9ea 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.nvokeError.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.nvokeError.page
@@ -1,11 +1,28 @@
<?xml version="1.0"?>
<page id="GIRepository.nvokeError"
- type="topic"
- style=""
+ type="guide"
+ style="enum"
xmlns="http://projectmallard.org/1.0/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
+ <link type="guide" xref="index"/>
</info>
<title>GIRepository.nvokeError</title>
-<p>An error occuring while invoking a function via
-g_function_info_invoke().</p></page>
+ <p>An error occuring while invoking a function via
+g_function_info_invoke().</p>
+<table>
+<tr>
+<td><p>nvokeError.FAILED :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>nvokeError.SYMBOL_NOT_FOUND :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>nvokeError.ARGUMENT_MISMATCH :</p></td>
+<td></td>
+</tr>
+</table>
+
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_method.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_method.page
index b2274937..40ca69b0 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_method.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_method.page
@@ -1,12 +1,49 @@
<?xml version="1.0"?>
+
<page id="GIRepository.object_info_find_method"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.FunctionInfo</api:type>
+ </api:returns>
+ <api:name>g_object_info_find_method</api:name>
+ <api:arg>
+ <api:type>GIRepository.ObjectInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>utf8</api:type>
+ <api:name>name</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.object_info_find_method</title>
-<p>Obtain a method of the object type given a @name. %NULL will be
-returned if there's no method available with that name.</p><p>g_base_info_unref() when done.</p></page>
+ <title>object_info_find_method</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ObjectInfo, utf8)
+@returns(GIRepository.FunctionInfo)
+def object_info_find_method(info, name)
+</code></synopsis>
+<p>Obtain a method of the object type given a @name. None will be
+returned if there's no method available with that name.</p><p>g_base_info_unref() when done.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ObjectInfo">GIRepository.ObjectInfo</link></p></td>
+</tr>
+<tr>
+<td><p>name :</p></td>
+<td><p>name of method to obtain</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the <link xref="GIRepository.FunctionInfo">GIRepository.FunctionInfo</link>. Free the struct by calling</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_method_using_interfaces.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_method_using_interfaces.page
index c1122518..6e4bd653 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_method_using_interfaces.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_method_using_interfaces.page
@@ -1,14 +1,59 @@
<?xml version="1.0"?>
+
<page id="GIRepository.object_info_find_method_using_interfaces"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.FunctionInfo</api:type>
+ </api:returns>
+ <api:name>g_object_info_find_method_using_interfaces</api:name>
+ <api:arg>
+ <api:type>GIRepository.ObjectInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>utf8</api:type>
+ <api:name>name</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>GIRepository.ObjectInfo</api:type>
+ <api:name>implementor</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.object_info_find_method_using_interfaces</title>
+ <title>object_info_find_method_using_interfaces</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ObjectInfo, utf8, GIRepository.ObjectInfo)
+@returns(GIRepository.FunctionInfo)
+def object_info_find_method_using_interfaces(info, name, implementor)
+</code></synopsis>
<p>Obtain a method of the object given a @name, searching both the
-object @info and any interfaces it implements. %NULL will be
+object @info and any interfaces it implements. None will be
returned if there's no method available with that name.</p><p>Note that this function does *not* search parent classes; you will have
-to chain up if that's desired.</p><p>g_base_info_unref() when done.</p></page>
+to chain up if that's desired.</p><p>g_base_info_unref() when done.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ObjectInfo">GIRepository.ObjectInfo</link></p></td>
+</tr>
+<tr>
+<td><p>name :</p></td>
+<td><p>name of method to obtain</p></td>
+</tr>
+<tr>
+<td><p>implementor :</p></td>
+<td><p>The implementor of the interface</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the <link xref="GIRepository.FunctionInfo">GIRepository.FunctionInfo</link>. Free the struct by calling</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_signal.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_signal.page
index 89a8e1a4..fc49ce8f 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_signal.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_signal.page
@@ -1,11 +1,48 @@
<?xml version="1.0"?>
+
<page id="GIRepository.object_info_find_signal"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.SignalInfo</api:type>
+ </api:returns>
+ <api:name>g_object_info_find_signal</api:name>
+ <api:arg>
+ <api:type>GIRepository.ObjectInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>utf8</api:type>
+ <api:name>name</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.object_info_find_signal</title>
+ <title>object_info_find_signal</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ObjectInfo, utf8)
+@returns(GIRepository.SignalInfo)
+def object_info_find_signal(info, name)
+</code></synopsis>
+
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ObjectInfo">GIRepository.ObjectInfo</link></p></td>
+</tr>
+<tr>
+<td><p>name :</p></td>
+<td><p>Name of signal</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>Info for the signal with name @name in @info, or None on failure.</p></td>
+</tr>
+</table>
</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_vfunc.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_vfunc.page
index e041085e..5618afa5 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_vfunc.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_vfunc.page
@@ -1,17 +1,54 @@
<?xml version="1.0"?>
+
<page id="GIRepository.object_info_find_vfunc"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.VFuncInfo</api:type>
+ </api:returns>
+ <api:name>g_object_info_find_vfunc</api:name>
+ <api:arg>
+ <api:type>GIRepository.ObjectInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>utf8</api:type>
+ <api:name>name</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.object_info_find_vfunc</title>
+ <title>object_info_find_vfunc</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ObjectInfo, utf8)
+@returns(GIRepository.VFuncInfo)
+def object_info_find_vfunc(info, name)
+</code></synopsis>
<p>Locate a virtual function slot with name @name. Note that the namespace
for virtuals is distinct from that of methods; there may or may not be
a concrete method associated for a virtual. If there is one, it may
-be retrieved using g_vfunc_info_get_invoker(), otherwise %NULL will be
+be retrieved using g_vfunc_info_get_invoker(), otherwise None will be
returned.
See the documentation for g_vfunc_info_get_invoker() for more
-information on invoking virtuals.</p><p>g_base_info_unref() when done.</p></page>
+information on invoking virtuals.</p><p>g_base_info_unref() when done.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ObjectInfo">GIRepository.ObjectInfo</link></p></td>
+</tr>
+<tr>
+<td><p>name :</p></td>
+<td><p>The name of a virtual function to find.</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the <link xref="GIRepository.VFuncInfo">GIRepository.VFuncInfo</link>, or None. Free it with</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_abstract.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_abstract.page
index 620ce4ef..b546701a 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_abstract.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_abstract.page
@@ -1,12 +1,41 @@
<?xml version="1.0"?>
+
<page id="GIRepository.object_info_get_abstract"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gboolean</api:type>
+ </api:returns>
+ <api:name>g_object_info_get_abstract</api:name>
+ <api:arg>
+ <api:type>GIRepository.ObjectInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.object_info_get_abstract</title>
+ <title>object_info_get_abstract</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ObjectInfo)
+@returns(gboolean)
+def object_info_get_abstract(info)
+</code></synopsis>
<p>Obtain if the object type is an abstract type, eg if it cannot be
-instantiated</p></page>
+instantiated</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ObjectInfo">GIRepository.ObjectInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>True if the object type is abstract</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_class_struct.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_class_struct.page
index a4f8d78e..bc529fc3 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_class_struct.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_class_struct.page
@@ -1,12 +1,41 @@
<?xml version="1.0"?>
+
<page id="GIRepository.object_info_get_class_struct"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.StructInfo</api:type>
+ </api:returns>
+ <api:name>g_object_info_get_class_struct</api:name>
+ <api:arg>
+ <api:type>GIRepository.ObjectInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.object_info_get_class_struct</title>
+ <title>object_info_get_class_struct</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ObjectInfo)
+@returns(GIRepository.StructInfo)
+def object_info_get_class_struct(info)
+</code></synopsis>
<p>Every <link xref="GObject">GObject</link> has two structures; an instance structure and a class
-structure. This function returns the metadata for the class structure.</p><p>g_base_info_unref() when done.</p></page>
+structure. This function returns the metadata for the class structure.</p><p>g_base_info_unref() when done.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ObjectInfo">GIRepository.ObjectInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the <link xref="GIRepository.StructInfo">GIRepository.StructInfo</link> or None. Free with</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_constant.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_constant.page
index 23e9627e..2d6fde91 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_constant.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_constant.page
@@ -1,11 +1,48 @@
<?xml version="1.0"?>
+
<page id="GIRepository.object_info_get_constant"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.ConstantInfo</api:type>
+ </api:returns>
+ <api:name>g_object_info_get_constant</api:name>
+ <api:arg>
+ <api:type>GIRepository.ObjectInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>gint</api:type>
+ <api:name>n</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.object_info_get_constant</title>
-<p>Obtain an object type constant at index @n.</p><p>g_base_info_unref() when done.</p></page>
+ <title>object_info_get_constant</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ObjectInfo, gint)
+@returns(GIRepository.ConstantInfo)
+def object_info_get_constant(info, n)
+</code></synopsis>
+<p>Obtain an object type constant at index @n.</p><p>g_base_info_unref() when done.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ObjectInfo">GIRepository.ObjectInfo</link></p></td>
+</tr>
+<tr>
+<td><p>n :</p></td>
+<td><p>index of constant to get</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the <link xref="GIRepository.ConstantInfo">GIRepository.ConstantInfo</link>. Free the struct by calling</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_field.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_field.page
index 0262989a..29bea30e 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_field.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_field.page
@@ -1,11 +1,48 @@
<?xml version="1.0"?>
+
<page id="GIRepository.object_info_get_field"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.FieldInfo</api:type>
+ </api:returns>
+ <api:name>g_object_info_get_field</api:name>
+ <api:arg>
+ <api:type>GIRepository.ObjectInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>gint</api:type>
+ <api:name>n</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.object_info_get_field</title>
-<p>Obtain an object type field at index @n.</p><p>g_base_info_unref() when done.</p></page>
+ <title>object_info_get_field</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ObjectInfo, gint)
+@returns(GIRepository.FieldInfo)
+def object_info_get_field(info, n)
+</code></synopsis>
+<p>Obtain an object type field at index @n.</p><p>g_base_info_unref() when done.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ObjectInfo">GIRepository.ObjectInfo</link></p></td>
+</tr>
+<tr>
+<td><p>n :</p></td>
+<td><p>index of field to get</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the <link xref="GIRepository.FieldInfo">GIRepository.FieldInfo</link>. Free the struct by calling</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_fundamental.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_fundamental.page
index 746f7dca..66a55496 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_fundamental.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_fundamental.page
@@ -1,12 +1,41 @@
<?xml version="1.0"?>
+
<page id="GIRepository.object_info_get_fundamental"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gboolean</api:type>
+ </api:returns>
+ <api:name>g_object_info_get_fundamental</api:name>
+ <api:arg>
+ <api:type>GIRepository.ObjectInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.object_info_get_fundamental</title>
+ <title>object_info_get_fundamental</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ObjectInfo)
+@returns(gboolean)
+def object_info_get_fundamental(info)
+</code></synopsis>
<p>Obtain if the object type is of a fundamental type which is not
-G_TYPE_OBJECT. This is mostly for supporting GstMiniObject.</p></page>
+G_TYPE_OBJECT. This is mostly for supporting GstMiniObject.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ObjectInfo">GIRepository.ObjectInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>True if the object type is a fundamental type</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_get_value_function.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_get_value_function.page
index 72cdad82..d689de9c 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_get_value_function.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_get_value_function.page
@@ -1,15 +1,44 @@
<?xml version="1.0"?>
+
<page id="GIRepository.object_info_get_get_value_function"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>utf8</api:type>
+ </api:returns>
+ <api:name>g_object_info_get_get_value_function</api:name>
+ <api:arg>
+ <api:type>GIRepository.ObjectInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.object_info_get_get_value_function</title>
+ <title>object_info_get_get_value_function</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ObjectInfo)
+@returns(utf8)
+def object_info_get_get_value_function(info)
+</code></synopsis>
<p>Obtain the symbol name of the function that should be called to convert
an object instance pointer of this object type to a GValue.
I's mainly used fundamental types. The type signature for the symbol
is %GIObjectInfoGetValueFunction, to fetch the function pointer
-see g_object_info_get_get_value_function().</p></page>
+see g_object_info_get_get_value_function().</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ObjectInfo">GIRepository.ObjectInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the symbol or None</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_get_value_function_pointer.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_get_value_function_pointer.page
index e464cd60..2550997b 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_get_value_function_pointer.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_get_value_function_pointer.page
@@ -1,14 +1,43 @@
<?xml version="1.0"?>
+
<page id="GIRepository.object_info_get_get_value_function_pointer"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.ObjectInfoGetValueFunction</api:type>
+ </api:returns>
+ <api:name>g_object_info_get_get_value_function_pointer</api:name>
+ <api:arg>
+ <api:type>GIRepository.ObjectInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.object_info_get_get_value_function_pointer</title>
+ <title>object_info_get_get_value_function_pointer</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ObjectInfo)
+@returns(GIRepository.ObjectInfoGetValueFunction)
+def object_info_get_get_value_function_pointer(info)
+</code></synopsis>
<p>Obtain a pointer to a function which can be used to
extract an instance of this object type out of a GValue.
This takes derivation into account and will reversely traverse
-the base classes of this type, starting at the top type.</p></page>
+the base classes of this type, starting at the top type.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ObjectInfo">GIRepository.ObjectInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the function pointer or None</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_interface.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_interface.page
index 5f337a0b..611cf305 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_interface.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_interface.page
@@ -1,11 +1,48 @@
<?xml version="1.0"?>
+
<page id="GIRepository.object_info_get_interface"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.InterfaceInfo</api:type>
+ </api:returns>
+ <api:name>g_object_info_get_interface</api:name>
+ <api:arg>
+ <api:type>GIRepository.ObjectInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>gint</api:type>
+ <api:name>n</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.object_info_get_interface</title>
-<p>Obtain an object type interface at index @n.</p><p>g_base_info_unref() when done.</p></page>
+ <title>object_info_get_interface</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ObjectInfo, gint)
+@returns(GIRepository.InterfaceInfo)
+def object_info_get_interface(info, n)
+</code></synopsis>
+<p>Obtain an object type interface at index @n.</p><p>g_base_info_unref() when done.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ObjectInfo">GIRepository.ObjectInfo</link></p></td>
+</tr>
+<tr>
+<td><p>n :</p></td>
+<td><p>index of interface to get</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the <link xref="GIRepository.InterfaceInfo">GIRepository.InterfaceInfo</link>. Free the struct by calling</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_method.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_method.page
index db6a2cb6..c24d3c0d 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_method.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_method.page
@@ -1,11 +1,48 @@
<?xml version="1.0"?>
+
<page id="GIRepository.object_info_get_method"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.FunctionInfo</api:type>
+ </api:returns>
+ <api:name>g_object_info_get_method</api:name>
+ <api:arg>
+ <api:type>GIRepository.ObjectInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>gint</api:type>
+ <api:name>n</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.object_info_get_method</title>
-<p>Obtain an object type method at index @n.</p><p>g_base_info_unref() when done.</p></page>
+ <title>object_info_get_method</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ObjectInfo, gint)
+@returns(GIRepository.FunctionInfo)
+def object_info_get_method(info, n)
+</code></synopsis>
+<p>Obtain an object type method at index @n.</p><p>g_base_info_unref() when done.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ObjectInfo">GIRepository.ObjectInfo</link></p></td>
+</tr>
+<tr>
+<td><p>n :</p></td>
+<td><p>index of method to get</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the <link xref="GIRepository.FunctionInfo">GIRepository.FunctionInfo</link>. Free the struct by calling</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_constants.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_constants.page
index 970ea9d9..650d9153 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_constants.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_constants.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.object_info_get_n_constants"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gint</api:type>
+ </api:returns>
+ <api:name>g_object_info_get_n_constants</api:name>
+ <api:arg>
+ <api:type>GIRepository.ObjectInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.object_info_get_n_constants</title>
-<p>Obtain the number of constants that this object type has.</p></page>
+ <title>object_info_get_n_constants</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ObjectInfo)
+@returns(gint)
+def object_info_get_n_constants(info)
+</code></synopsis>
+<p>Obtain the number of constants that this object type has.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ObjectInfo">GIRepository.ObjectInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>number of constants</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_fields.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_fields.page
index 87d5467c..1e9074bf 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_fields.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_fields.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.object_info_get_n_fields"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gint</api:type>
+ </api:returns>
+ <api:name>g_object_info_get_n_fields</api:name>
+ <api:arg>
+ <api:type>GIRepository.ObjectInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.object_info_get_n_fields</title>
-<p>Obtain the number of fields that this object type has.</p></page>
+ <title>object_info_get_n_fields</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ObjectInfo)
+@returns(gint)
+def object_info_get_n_fields(info)
+</code></synopsis>
+<p>Obtain the number of fields that this object type has.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ObjectInfo">GIRepository.ObjectInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>number of fields</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_interfaces.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_interfaces.page
index dc5c351e..a56b0b4f 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_interfaces.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_interfaces.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.object_info_get_n_interfaces"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gint</api:type>
+ </api:returns>
+ <api:name>g_object_info_get_n_interfaces</api:name>
+ <api:arg>
+ <api:type>GIRepository.ObjectInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.object_info_get_n_interfaces</title>
-<p>Obtain the number of interfaces that this object type has.</p></page>
+ <title>object_info_get_n_interfaces</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ObjectInfo)
+@returns(gint)
+def object_info_get_n_interfaces(info)
+</code></synopsis>
+<p>Obtain the number of interfaces that this object type has.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ObjectInfo">GIRepository.ObjectInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>number of interfaces</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_methods.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_methods.page
index 5e927614..3d996e49 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_methods.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_methods.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.object_info_get_n_methods"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gint</api:type>
+ </api:returns>
+ <api:name>g_object_info_get_n_methods</api:name>
+ <api:arg>
+ <api:type>GIRepository.ObjectInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.object_info_get_n_methods</title>
-<p>Obtain the number of methods that this object type has.</p></page>
+ <title>object_info_get_n_methods</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ObjectInfo)
+@returns(gint)
+def object_info_get_n_methods(info)
+</code></synopsis>
+<p>Obtain the number of methods that this object type has.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ObjectInfo">GIRepository.ObjectInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>number of methods</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_properties.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_properties.page
index 872d7574..f50535e9 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_properties.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_properties.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.object_info_get_n_properties"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gint</api:type>
+ </api:returns>
+ <api:name>g_object_info_get_n_properties</api:name>
+ <api:arg>
+ <api:type>GIRepository.ObjectInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.object_info_get_n_properties</title>
-<p>Obtain the number of properties that this object type has.</p></page>
+ <title>object_info_get_n_properties</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ObjectInfo)
+@returns(gint)
+def object_info_get_n_properties(info)
+</code></synopsis>
+<p>Obtain the number of properties that this object type has.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ObjectInfo">GIRepository.ObjectInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>number of properties</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_signals.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_signals.page
index 6f90d219..a5241419 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_signals.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_signals.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.object_info_get_n_signals"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gint</api:type>
+ </api:returns>
+ <api:name>g_object_info_get_n_signals</api:name>
+ <api:arg>
+ <api:type>GIRepository.ObjectInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.object_info_get_n_signals</title>
-<p>Obtain the number of signals that this object type has.</p></page>
+ <title>object_info_get_n_signals</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ObjectInfo)
+@returns(gint)
+def object_info_get_n_signals(info)
+</code></synopsis>
+<p>Obtain the number of signals that this object type has.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ObjectInfo">GIRepository.ObjectInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>number of signals</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_vfuncs.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_vfuncs.page
index d6a954ab..a4868af8 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_vfuncs.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_vfuncs.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.object_info_get_n_vfuncs"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gint</api:type>
+ </api:returns>
+ <api:name>g_object_info_get_n_vfuncs</api:name>
+ <api:arg>
+ <api:type>GIRepository.ObjectInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.object_info_get_n_vfuncs</title>
-<p>Obtain the number of virtual functions that this object type has.</p></page>
+ <title>object_info_get_n_vfuncs</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ObjectInfo)
+@returns(gint)
+def object_info_get_n_vfuncs(info)
+</code></synopsis>
+<p>Obtain the number of virtual functions that this object type has.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ObjectInfo">GIRepository.ObjectInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>number of virtual functions</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_parent.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_parent.page
index 6c16b661..963126b2 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_parent.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_parent.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.object_info_get_parent"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.ObjectInfo</api:type>
+ </api:returns>
+ <api:name>g_object_info_get_parent</api:name>
+ <api:arg>
+ <api:type>GIRepository.ObjectInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.object_info_get_parent</title>
-<p>Obtain the parent of the object type.</p><p>g_base_info_unref() when done.</p></page>
+ <title>object_info_get_parent</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ObjectInfo)
+@returns(GIRepository.ObjectInfo)
+def object_info_get_parent(info)
+</code></synopsis>
+<p>Obtain the parent of the object type.</p><p>g_base_info_unref() when done.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ObjectInfo">GIRepository.ObjectInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the <link xref="GIRepository.ObjectInfo">GIRepository.ObjectInfo</link>. Free the struct by calling</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_property.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_property.page
index 96ca5f79..ce8a4563 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_property.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_property.page
@@ -1,11 +1,48 @@
<?xml version="1.0"?>
+
<page id="GIRepository.object_info_get_property"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.PropertyInfo</api:type>
+ </api:returns>
+ <api:name>g_object_info_get_property</api:name>
+ <api:arg>
+ <api:type>GIRepository.ObjectInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>gint</api:type>
+ <api:name>n</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.object_info_get_property</title>
-<p>Obtain an object type property at index @n.</p><p>g_base_info_unref() when done.</p></page>
+ <title>object_info_get_property</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ObjectInfo, gint)
+@returns(GIRepository.PropertyInfo)
+def object_info_get_property(info, n)
+</code></synopsis>
+<p>Obtain an object type property at index @n.</p><p>g_base_info_unref() when done.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ObjectInfo">GIRepository.ObjectInfo</link></p></td>
+</tr>
+<tr>
+<td><p>n :</p></td>
+<td><p>index of property to get</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the <link xref="GIRepository.PropertyInfo">GIRepository.PropertyInfo</link>. Free the struct by calling</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_ref_function.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_ref_function.page
index 1c795d12..ac7d6c5c 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_ref_function.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_ref_function.page
@@ -1,14 +1,43 @@
<?xml version="1.0"?>
+
<page id="GIRepository.object_info_get_ref_function"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>utf8</api:type>
+ </api:returns>
+ <api:name>g_object_info_get_ref_function</api:name>
+ <api:arg>
+ <api:type>GIRepository.ObjectInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.object_info_get_ref_function</title>
+ <title>object_info_get_ref_function</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ObjectInfo)
+@returns(utf8)
+def object_info_get_ref_function(info)
+</code></synopsis>
<p>Obtain the symbol name of the function that should be called to ref this
object type. It's mainly used fundamental types. The type signature for
the symbol is %GIObjectInfoRefFunction, to fetch the function pointer
-see g_object_info_get_ref_function().</p></page>
+see g_object_info_get_ref_function().</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ObjectInfo">GIRepository.ObjectInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the symbol or None</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_ref_function_pointer.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_ref_function_pointer.page
index f99782a7..00fbf109 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_ref_function_pointer.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_ref_function_pointer.page
@@ -1,14 +1,43 @@
<?xml version="1.0"?>
+
<page id="GIRepository.object_info_get_ref_function_pointer"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.ObjectInfoRefFunction</api:type>
+ </api:returns>
+ <api:name>g_object_info_get_ref_function_pointer</api:name>
+ <api:arg>
+ <api:type>GIRepository.ObjectInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.object_info_get_ref_function_pointer</title>
+ <title>object_info_get_ref_function_pointer</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ObjectInfo)
+@returns(GIRepository.ObjectInfoRefFunction)
+def object_info_get_ref_function_pointer(info)
+</code></synopsis>
<p>Obtain a pointer to a function which can be used to
increase the reference count an instance of this object type.
This takes derivation into account and will reversely traverse
-the base classes of this type, starting at the top type.</p></page>
+the base classes of this type, starting at the top type.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ObjectInfo">GIRepository.ObjectInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the function pointer or None</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_set_value_function.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_set_value_function.page
index d37bf2d5..9e30f51f 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_set_value_function.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_set_value_function.page
@@ -1,15 +1,44 @@
<?xml version="1.0"?>
+
<page id="GIRepository.object_info_get_set_value_function"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>utf8</api:type>
+ </api:returns>
+ <api:name>g_object_info_get_set_value_function</api:name>
+ <api:arg>
+ <api:type>GIRepository.ObjectInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.object_info_get_set_value_function</title>
+ <title>object_info_get_set_value_function</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ObjectInfo)
+@returns(utf8)
+def object_info_get_set_value_function(info)
+</code></synopsis>
<p>Obtain the symbol name of the function that should be called to convert
set a GValue giving an object instance pointer of this object type.
I's mainly used fundamental types. The type signature for the symbol
is %GIObjectInfoSetValueFunction, to fetch the function pointer
-see g_object_info_get_set_value_function().</p></page>
+see g_object_info_get_set_value_function().</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ObjectInfo">GIRepository.ObjectInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the symbol or None</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_set_value_function_pointer.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_set_value_function_pointer.page
index 1141c31a..9c2646d7 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_set_value_function_pointer.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_set_value_function_pointer.page
@@ -1,14 +1,43 @@
<?xml version="1.0"?>
+
<page id="GIRepository.object_info_get_set_value_function_pointer"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.ObjectInfoSetValueFunction</api:type>
+ </api:returns>
+ <api:name>g_object_info_get_set_value_function_pointer</api:name>
+ <api:arg>
+ <api:type>GIRepository.ObjectInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.object_info_get_set_value_function_pointer</title>
+ <title>object_info_get_set_value_function_pointer</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ObjectInfo)
+@returns(GIRepository.ObjectInfoSetValueFunction)
+def object_info_get_set_value_function_pointer(info)
+</code></synopsis>
<p>Obtain a pointer to a function which can be used to
set a GValue given an instance of this object type.
This takes derivation into account and will reversely traverse
-the base classes of this type, starting at the top type.</p></page>
+the base classes of this type, starting at the top type.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ObjectInfo">GIRepository.ObjectInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the function pointer or None</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_signal.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_signal.page
index 90ba5f61..be2b9216 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_signal.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_signal.page
@@ -1,11 +1,48 @@
<?xml version="1.0"?>
+
<page id="GIRepository.object_info_get_signal"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.SignalInfo</api:type>
+ </api:returns>
+ <api:name>g_object_info_get_signal</api:name>
+ <api:arg>
+ <api:type>GIRepository.ObjectInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>gint</api:type>
+ <api:name>n</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.object_info_get_signal</title>
-<p>Obtain an object type signal at index @n.</p><p>g_base_info_unref() when done.</p></page>
+ <title>object_info_get_signal</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ObjectInfo, gint)
+@returns(GIRepository.SignalInfo)
+def object_info_get_signal(info, n)
+</code></synopsis>
+<p>Obtain an object type signal at index @n.</p><p>g_base_info_unref() when done.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ObjectInfo">GIRepository.ObjectInfo</link></p></td>
+</tr>
+<tr>
+<td><p>n :</p></td>
+<td><p>index of signal to get</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the <link xref="GIRepository.SignalInfo">GIRepository.SignalInfo</link>. Free the struct by calling</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_type_init.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_type_init.page
index dc6fa951..25e2243a 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_type_init.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_type_init.page
@@ -1,12 +1,41 @@
<?xml version="1.0"?>
+
<page id="GIRepository.object_info_get_type_init"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>utf8</api:type>
+ </api:returns>
+ <api:name>g_object_info_get_type_init</api:name>
+ <api:arg>
+ <api:type>GIRepository.ObjectInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.object_info_get_type_init</title>
+ <title>object_info_get_type_init</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ObjectInfo)
+@returns(utf8)
+def object_info_get_type_init(info)
+</code></synopsis>
<p>Obtain the function which when called will return the GType
-function for which this object type is registered.</p></page>
+function for which this object type is registered.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ObjectInfo">GIRepository.ObjectInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the type init function</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_type_name.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_type_name.page
index bff23d2a..154bcb35 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_type_name.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_type_name.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.object_info_get_type_name"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>utf8</api:type>
+ </api:returns>
+ <api:name>g_object_info_get_type_name</api:name>
+ <api:arg>
+ <api:type>GIRepository.ObjectInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.object_info_get_type_name</title>
-<p>Obtain the name of the objects class/type.</p></page>
+ <title>object_info_get_type_name</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ObjectInfo)
+@returns(utf8)
+def object_info_get_type_name(info)
+</code></synopsis>
+<p>Obtain the name of the objects class/type.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ObjectInfo">GIRepository.ObjectInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>name of the objects type</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_unref_function.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_unref_function.page
index 1829c346..63b00c72 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_unref_function.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_unref_function.page
@@ -1,14 +1,43 @@
<?xml version="1.0"?>
+
<page id="GIRepository.object_info_get_unref_function"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>utf8</api:type>
+ </api:returns>
+ <api:name>g_object_info_get_unref_function</api:name>
+ <api:arg>
+ <api:type>GIRepository.ObjectInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.object_info_get_unref_function</title>
+ <title>object_info_get_unref_function</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ObjectInfo)
+@returns(utf8)
+def object_info_get_unref_function(info)
+</code></synopsis>
<p>Obtain the symbol name of the function that should be called to unref this
object type. It's mainly used fundamental types. The type signature for
the symbol is %GIObjectInfoUnrefFunction, to fetch the function pointer
-see g_object_info_get_unref_function().</p></page>
+see g_object_info_get_unref_function().</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ObjectInfo">GIRepository.ObjectInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the symbol or None</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_unref_function_pointer.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_unref_function_pointer.page
index 35811aff..5584f78c 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_unref_function_pointer.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_unref_function_pointer.page
@@ -1,14 +1,43 @@
<?xml version="1.0"?>
+
<page id="GIRepository.object_info_get_unref_function_pointer"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.ObjectInfoUnrefFunction</api:type>
+ </api:returns>
+ <api:name>g_object_info_get_unref_function_pointer</api:name>
+ <api:arg>
+ <api:type>GIRepository.ObjectInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.object_info_get_unref_function_pointer</title>
+ <title>object_info_get_unref_function_pointer</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ObjectInfo)
+@returns(GIRepository.ObjectInfoUnrefFunction)
+def object_info_get_unref_function_pointer(info)
+</code></synopsis>
<p>Obtain a pointer to a function which can be used to
decrease the reference count an instance of this object type.
This takes derivation into account and will reversely traverse
-the base classes of this type, starting at the top type.</p></page>
+the base classes of this type, starting at the top type.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ObjectInfo">GIRepository.ObjectInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the function pointer or None</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_vfunc.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_vfunc.page
index a190fe14..d9200d3a 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_vfunc.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_vfunc.page
@@ -1,11 +1,48 @@
<?xml version="1.0"?>
+
<page id="GIRepository.object_info_get_vfunc"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.VFuncInfo</api:type>
+ </api:returns>
+ <api:name>g_object_info_get_vfunc</api:name>
+ <api:arg>
+ <api:type>GIRepository.ObjectInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>gint</api:type>
+ <api:name>n</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.object_info_get_vfunc</title>
-<p>Obtain an object type virtual function at index @n.</p><p>g_base_info_unref() when done.</p></page>
+ <title>object_info_get_vfunc</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ObjectInfo, gint)
+@returns(GIRepository.VFuncInfo)
+def object_info_get_vfunc(info, n)
+</code></synopsis>
+<p>Obtain an object type virtual function at index @n.</p><p>g_base_info_unref() when done.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ObjectInfo">GIRepository.ObjectInfo</link></p></td>
+</tr>
+<tr>
+<td><p>n :</p></td>
+<td><p>index of virtual function to get</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the <link xref="GIRepository.VFuncInfo">GIRepository.VFuncInfo</link>. Free the struct by calling</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.property_info_get_flags.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.property_info_get_flags.page
index 3ce24b0c..ca54411e 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.property_info_get_flags.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.property_info_get_flags.page
@@ -1,12 +1,41 @@
<?xml version="1.0"?>
+
<page id="GIRepository.property_info_get_flags"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GObject.ParamFlags</api:type>
+ </api:returns>
+ <api:name>g_property_info_get_flags</api:name>
+ <api:arg>
+ <api:type>GIRepository.PropertyInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.property_info_get_flags</title>
+ <title>property_info_get_flags</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.PropertyInfo)
+@returns(GObject.ParamFlags)
+def property_info_get_flags(info)
+</code></synopsis>
<p>Obtain the flags for this property info. See <link xref="GParamFags">GParamFags</link> for
-more information about possible flag values.</p></page>
+more information about possible flag values.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.PropertyInfo">GIRepository.PropertyInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the flags</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.property_info_get_ownership_transfer.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.property_info_get_ownership_transfer.page
index a4ff311a..e645fab7 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.property_info_get_ownership_transfer.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.property_info_get_ownership_transfer.page
@@ -1,12 +1,41 @@
<?xml version="1.0"?>
+
<page id="GIRepository.property_info_get_ownership_transfer"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.Transfer</api:type>
+ </api:returns>
+ <api:name>g_property_info_get_ownership_transfer</api:name>
+ <api:arg>
+ <api:type>GIRepository.PropertyInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.property_info_get_ownership_transfer</title>
-<p>Obtain the ownership transfer for this property. See <link xref="GITransfer">GITransfer</link> for more
-information about transfer values.</p></page>
+ <title>property_info_get_ownership_transfer</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.PropertyInfo)
+@returns(GIRepository.Transfer)
+def property_info_get_ownership_transfer(info)
+</code></synopsis>
+<p>Obtain the ownership transfer for this property. See <link xref="GIRepository.Transfer">GIRepository.Transfer</link> for more
+information about transfer values.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.PropertyInfo">GIRepository.PropertyInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the transfer</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.property_info_get_type.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.property_info_get_type.page
index 73d57a7e..f1a8e85b 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.property_info_get_type.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.property_info_get_type.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.property_info_get_type"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.TypeInfo</api:type>
+ </api:returns>
+ <api:name>g_property_info_get_type</api:name>
+ <api:arg>
+ <api:type>GIRepository.PropertyInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.property_info_get_type</title>
-<p>Obtain the type information for the property @info.</p><p>g_base_info_unref() when done.</p></page>
+ <title>property_info_get_type</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.PropertyInfo)
+@returns(GIRepository.TypeInfo)
+def property_info_get_type(info)
+</code></synopsis>
+<p>Obtain the type information for the property @info.</p><p>g_base_info_unref() when done.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.PropertyInfo">GIRepository.PropertyInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the <link xref="GIRepository.TypeInfo">GIRepository.TypeInfo</link>, free it with</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.registered_type_info_get_g_type.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.registered_type_info_get_g_type.page
index a2871e02..f0119c02 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.registered_type_info_get_g_type.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.registered_type_info_get_g_type.page
@@ -1,14 +1,43 @@
<?xml version="1.0"?>
+
<page id="GIRepository.registered_type_info_get_g_type"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GType</api:type>
+ </api:returns>
+ <api:name>g_registered_type_info_get_g_type</api:name>
+ <api:arg>
+ <api:type>GIRepository.RegisteredTypeInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.registered_type_info_get_g_type</title>
+ <title>registered_type_info_get_g_type</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.RegisteredTypeInfo)
+@returns(GType)
+def registered_type_info_get_g_type(info)
+</code></synopsis>
<p>Obtain the <link xref="GType">GType</link> for this registered type or G_TYPE_NONE which a special meaning.
It means that either there is no type information associated with this @info or
that the shared library which provides the type_init function for this
-@info cannot be called.</p></page>
+@info cannot be called.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.RegisteredTypeInfo">GIRepository.RegisteredTypeInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the <link xref="GType">GType</link>.</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.registered_type_info_get_type_init.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.registered_type_info_get_type_init.page
index 805d7c29..b2d63463 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.registered_type_info_get_type_init.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.registered_type_info_get_type_init.page
@@ -1,14 +1,43 @@
<?xml version="1.0"?>
+
<page id="GIRepository.registered_type_info_get_type_init"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>utf8</api:type>
+ </api:returns>
+ <api:name>g_registered_type_info_get_type_init</api:name>
+ <api:arg>
+ <api:type>GIRepository.RegisteredTypeInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.registered_type_info_get_type_init</title>
+ <title>registered_type_info_get_type_init</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.RegisteredTypeInfo)
+@returns(utf8)
+def registered_type_info_get_type_init(info)
+</code></synopsis>
<p>Obtain the type init function for @info. The type init function is the
function which will register the GType within the GObject type system.
Usually this is not called by langauge bindings or applications, use
-g_registered_type_info_get_g_type() directly instead.</p><p>passing into g_module_symbol().</p></page>
+g_registered_type_info_get_g_type() directly instead.</p><p>passing into g_module_symbol().</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.RegisteredTypeInfo">GIRepository.RegisteredTypeInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the symbol name of the type init function, suitable for</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.registered_type_info_get_type_name.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.registered_type_info_get_type_name.page
index cf2e7068..a127f2ad 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.registered_type_info_get_type_name.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.registered_type_info_get_type_name.page
@@ -1,12 +1,41 @@
<?xml version="1.0"?>
+
<page id="GIRepository.registered_type_info_get_type_name"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>utf8</api:type>
+ </api:returns>
+ <api:name>g_registered_type_info_get_type_name</api:name>
+ <api:arg>
+ <api:type>GIRepository.RegisteredTypeInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.registered_type_info_get_type_name</title>
+ <title>registered_type_info_get_type_name</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.RegisteredTypeInfo)
+@returns(utf8)
+def registered_type_info_get_type_name(info)
+</code></synopsis>
<p>Obtain the type name of the struct within the GObject type system.
-This type can be passed to g_type_name() to get a <link xref="GType">GType</link>.</p></page>
+This type can be passed to g_type_name() to get a <link xref="GType">GType</link>.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.RegisteredTypeInfo">GIRepository.RegisteredTypeInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the type name</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.signal_info_get_class_closure.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.signal_info_get_class_closure.page
index 37170c06..9a12d01d 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.signal_info_get_class_closure.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.signal_info_get_class_closure.page
@@ -1,13 +1,42 @@
<?xml version="1.0"?>
+
<page id="GIRepository.signal_info_get_class_closure"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.VFuncInfo</api:type>
+ </api:returns>
+ <api:name>g_signal_info_get_class_closure</api:name>
+ <api:arg>
+ <api:type>GIRepository.SignalInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.signal_info_get_class_closure</title>
+ <title>signal_info_get_class_closure</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.SignalInfo)
+@returns(GIRepository.VFuncInfo)
+def signal_info_get_class_closure(info)
+</code></synopsis>
<p>Obtain the class closure for this signal if one is set. The class
closure is a virtual function on the type that the signal belongs to.
-If the signal lacks a closure %NULL will be returned.</p></page>
+If the signal lacks a closure None will be returned.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.SignalInfo">GIRepository.SignalInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the class closure or None</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.signal_info_get_flags.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.signal_info_get_flags.page
index d54aee44..01a6085b 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.signal_info_get_flags.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.signal_info_get_flags.page
@@ -1,12 +1,41 @@
<?xml version="1.0"?>
+
<page id="GIRepository.signal_info_get_flags"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GObject.SignalFlags</api:type>
+ </api:returns>
+ <api:name>g_signal_info_get_flags</api:name>
+ <api:arg>
+ <api:type>GIRepository.SignalInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.signal_info_get_flags</title>
+ <title>signal_info_get_flags</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.SignalInfo)
+@returns(GObject.SignalFlags)
+def signal_info_get_flags(info)
+</code></synopsis>
<p>Obtain the flags for this signal info. See <link xref="GSignalFlags">GSignalFlags</link> for
-more information about possible flag values.</p></page>
+more information about possible flag values.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.SignalInfo">GIRepository.SignalInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the flags</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.signal_info_true_stops_emit.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.signal_info_true_stops_emit.page
index 7c4faabf..d98975b0 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.signal_info_true_stops_emit.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.signal_info_true_stops_emit.page
@@ -1,12 +1,41 @@
<?xml version="1.0"?>
+
<page id="GIRepository.signal_info_true_stops_emit"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gboolean</api:type>
+ </api:returns>
+ <api:name>g_signal_info_true_stops_emit</api:name>
+ <api:arg>
+ <api:type>GIRepository.SignalInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.signal_info_true_stops_emit</title>
+ <title>signal_info_true_stops_emit</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.SignalInfo)
+@returns(gboolean)
+def signal_info_true_stops_emit(info)
+</code></synopsis>
<p>Obtain if the returning true in the signal handler will
-stop the emission of the signal.</p></page>
+stop the emission of the signal.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.SignalInfo">GIRepository.SignalInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>True if returning true stops the signal emission</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_find_method.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_find_method.page
index 5a9a875b..3f0c7578 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_find_method.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_find_method.page
@@ -1,11 +1,48 @@
<?xml version="1.0"?>
+
<page id="GIRepository.struct_info_find_method"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.FunctionInfo</api:type>
+ </api:returns>
+ <api:name>g_struct_info_find_method</api:name>
+ <api:arg>
+ <api:type>GIRepository.StructInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>utf8</api:type>
+ <api:name>name</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.struct_info_find_method</title>
-<p>Obtain the type information for method named @name.</p><p>when done.</p></page>
+ <title>struct_info_find_method</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.StructInfo, utf8)
+@returns(GIRepository.FunctionInfo)
+def struct_info_find_method(info, name)
+</code></synopsis>
+<p>Obtain the type information for method named @name.</p><p>when done.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.StructInfo">GIRepository.StructInfo</link></p></td>
+</tr>
+<tr>
+<td><p>name :</p></td>
+<td><p>a method name</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the <link xref="GIRepository.FunctionInfo">GIRepository.FunctionInfo</link>, free it with g_base_info_unref()</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_alignment.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_alignment.page
index fe2d2f97..537bbfa1 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_alignment.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_alignment.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.struct_info_get_alignment"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gsize</api:type>
+ </api:returns>
+ <api:name>g_struct_info_get_alignment</api:name>
+ <api:arg>
+ <api:type>GIRepository.StructInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.struct_info_get_alignment</title>
-<p>Obtain the required alignment of the structure.</p></page>
+ <title>struct_info_get_alignment</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.StructInfo)
+@returns(gsize)
+def struct_info_get_alignment(info)
+</code></synopsis>
+<p>Obtain the required alignment of the structure.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.StructInfo">GIRepository.StructInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>required alignment in bytes</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_field.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_field.page
index 8d070049..cac0bbc3 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_field.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_field.page
@@ -1,11 +1,48 @@
<?xml version="1.0"?>
+
<page id="GIRepository.struct_info_get_field"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.FieldInfo</api:type>
+ </api:returns>
+ <api:name>g_struct_info_get_field</api:name>
+ <api:arg>
+ <api:type>GIRepository.StructInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>gint</api:type>
+ <api:name>n</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.struct_info_get_field</title>
-<p>Obtain the type information for field with specified index.</p><p>when done.</p></page>
+ <title>struct_info_get_field</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.StructInfo, gint)
+@returns(GIRepository.FieldInfo)
+def struct_info_get_field(info, n)
+</code></synopsis>
+<p>Obtain the type information for field with specified index.</p><p>when done.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.StructInfo">GIRepository.StructInfo</link></p></td>
+</tr>
+<tr>
+<td><p>n :</p></td>
+<td><p>a field index</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the <link xref="GIRepository.FieldInfo">GIRepository.FieldInfo</link>, free it with g_base_info_unref()</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_method.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_method.page
index 2664e57f..ef731f07 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_method.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_method.page
@@ -1,11 +1,48 @@
<?xml version="1.0"?>
+
<page id="GIRepository.struct_info_get_method"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.FunctionInfo</api:type>
+ </api:returns>
+ <api:name>g_struct_info_get_method</api:name>
+ <api:arg>
+ <api:type>GIRepository.StructInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>gint</api:type>
+ <api:name>n</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.struct_info_get_method</title>
-<p>Obtain the type information for method with specified index.</p><p>when done.</p></page>
+ <title>struct_info_get_method</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.StructInfo, gint)
+@returns(GIRepository.FunctionInfo)
+def struct_info_get_method(info, n)
+</code></synopsis>
+<p>Obtain the type information for method with specified index.</p><p>when done.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.StructInfo">GIRepository.StructInfo</link></p></td>
+</tr>
+<tr>
+<td><p>n :</p></td>
+<td><p>a method index</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the <link xref="GIRepository.FunctionInfo">GIRepository.FunctionInfo</link>, free it with g_base_info_unref()</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_n_fields.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_n_fields.page
index b9cb4637..9648a53b 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_n_fields.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_n_fields.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.struct_info_get_n_fields"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gint</api:type>
+ </api:returns>
+ <api:name>g_struct_info_get_n_fields</api:name>
+ <api:arg>
+ <api:type>GIRepository.StructInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.struct_info_get_n_fields</title>
-<p>Obtain the number of fields this structure has.</p></page>
+ <title>struct_info_get_n_fields</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.StructInfo)
+@returns(gint)
+def struct_info_get_n_fields(info)
+</code></synopsis>
+<p>Obtain the number of fields this structure has.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.StructInfo">GIRepository.StructInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>number of fields</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_n_methods.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_n_methods.page
index 8c807982..83eb6c17 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_n_methods.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_n_methods.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.struct_info_get_n_methods"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gint</api:type>
+ </api:returns>
+ <api:name>g_struct_info_get_n_methods</api:name>
+ <api:arg>
+ <api:type>GIRepository.StructInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.struct_info_get_n_methods</title>
-<p>Obtain the number of methods this structure has.</p></page>
+ <title>struct_info_get_n_methods</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.StructInfo)
+@returns(gint)
+def struct_info_get_n_methods(info)
+</code></synopsis>
+<p>Obtain the number of methods this structure has.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.StructInfo">GIRepository.StructInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>number of methods</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_size.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_size.page
index 28fdd9cc..d46018f1 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_size.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_size.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.struct_info_get_size"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gsize</api:type>
+ </api:returns>
+ <api:name>g_struct_info_get_size</api:name>
+ <api:arg>
+ <api:type>GIRepository.StructInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.struct_info_get_size</title>
-<p>Obtain the total size of the structure.</p></page>
+ <title>struct_info_get_size</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.StructInfo)
+@returns(gsize)
+def struct_info_get_size(info)
+</code></synopsis>
+<p>Obtain the total size of the structure.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.StructInfo">GIRepository.StructInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>size of the structure in bytes</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_is_foreign.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_is_foreign.page
index 1e09a1e0..9801afc9 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_is_foreign.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_is_foreign.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.struct_info_is_foreign"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gboolean</api:type>
+ </api:returns>
+ <api:name>g_struct_info_is_foreign</api:name>
+ <api:arg>
+ <api:type>GIRepository.StructInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.struct_info_is_foreign</title>
+ <title>struct_info_is_foreign</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.StructInfo)
+@returns(gboolean)
+def struct_info_is_foreign(info)
+</code></synopsis>
+
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td></td>
+</tr>
+</table>
</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_is_gtype_struct.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_is_gtype_struct.page
index 01e52ef5..546ba03e 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_is_gtype_struct.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_is_gtype_struct.page
@@ -1,13 +1,42 @@
<?xml version="1.0"?>
+
<page id="GIRepository.struct_info_is_gtype_struct"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gboolean</api:type>
+ </api:returns>
+ <api:name>g_struct_info_is_gtype_struct</api:name>
+ <api:arg>
+ <api:type>GIRepository.StructInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.struct_info_is_gtype_struct</title>
+ <title>struct_info_is_gtype_struct</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.StructInfo)
+@returns(gboolean)
+def struct_info_is_gtype_struct(info)
+</code></synopsis>
<p>Return true if this structure represents the "class structure" for some
<link xref="GObject">GObject</link> or <link xref="GInterface">GInterface</link>. This function is mainly useful to hide this kind of structure
-from generated public APIs.</p></page>
+from generated public APIs.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.StructInfo">GIRepository.StructInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>True if this is a class struct, False otherwise</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_array_fixed_size.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_array_fixed_size.page
index 9e5297cc..b848767e 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_array_fixed_size.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_array_fixed_size.page
@@ -1,12 +1,41 @@
<?xml version="1.0"?>
+
<page id="GIRepository.type_info_get_array_fixed_size"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gint</api:type>
+ </api:returns>
+ <api:name>g_type_info_get_array_fixed_size</api:name>
+ <api:arg>
+ <api:type>GIRepository.TypeInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.type_info_get_array_fixed_size</title>
+ <title>type_info_get_array_fixed_size</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.TypeInfo)
+@returns(gint)
+def type_info_get_array_fixed_size(info)
+</code></synopsis>
<p>Obtain the fixed array size of the type. The type tag must be a
-<link xref="GI_TYPE_TAG_ARRAY">GI_TYPE_TAG_ARRAY</link> or -1 will returned.</p></page>
+<link xref="GI_TYPE_TAG_ARRAY">GI_TYPE_TAG_ARRAY</link> or -1 will returned.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.TypeInfo">GIRepository.TypeInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the size or -1 if it's not an array</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_array_length.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_array_length.page
index 94cec6ee..7280cfbb 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_array_length.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_array_length.page
@@ -1,12 +1,41 @@
<?xml version="1.0"?>
+
<page id="GIRepository.type_info_get_array_length"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gint</api:type>
+ </api:returns>
+ <api:name>g_type_info_get_array_length</api:name>
+ <api:arg>
+ <api:type>GIRepository.TypeInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.type_info_get_array_length</title>
+ <title>type_info_get_array_length</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.TypeInfo)
+@returns(gint)
+def type_info_get_array_length(info)
+</code></synopsis>
<p>Obtain the array length of the type. The type tag must be a
-<link xref="GI_TYPE_TAG_ARRAY">GI_TYPE_TAG_ARRAY</link> or -1 will returned.</p></page>
+<link xref="GI_TYPE_TAG_ARRAY">GI_TYPE_TAG_ARRAY</link> or -1 will returned.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.TypeInfo">GIRepository.TypeInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the array length, or -1 if the type is not an array</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_array_type.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_array_type.page
index a8fb76e4..e9122f32 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_array_type.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_array_type.page
@@ -1,13 +1,42 @@
<?xml version="1.0"?>
+
<page id="GIRepository.type_info_get_array_type"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.ArrayType</api:type>
+ </api:returns>
+ <api:name>g_type_info_get_array_type</api:name>
+ <api:arg>
+ <api:type>GIRepository.TypeInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.type_info_get_array_type</title>
-<p>Obtain the array type for this type. See <link xref="GIArrayType">GIArrayType</link> for a list of
+ <title>type_info_get_array_type</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.TypeInfo)
+@returns(GIRepository.ArrayType)
+def type_info_get_array_type(info)
+</code></synopsis>
+<p>Obtain the array type for this type. See <link xref="GIRepository.ArrayType">GIRepository.ArrayType</link> for a list of
possible values. If the type tag of this type is not array, -1 will be
-returned.</p></page>
+returned.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.TypeInfo">GIRepository.TypeInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the array type or -1</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_interface.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_interface.page
index 63b19149..1433f665 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_interface.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_interface.page
@@ -1,14 +1,43 @@
<?xml version="1.0"?>
+
<page id="GIRepository.type_info_get_interface"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.BaseInfo</api:type>
+ </api:returns>
+ <api:name>g_type_info_get_interface</api:name>
+ <api:arg>
+ <api:type>GIRepository.TypeInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.type_info_get_interface</title>
+ <title>type_info_get_interface</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.TypeInfo)
+@returns(GIRepository.BaseInfo)
+def type_info_get_interface(info)
+</code></synopsis>
<p>For types which have <link xref="GI_TYPE_TAG_INTERFACE">GI_TYPE_TAG_INTERFACE</link> such as GObjects and boxed values,
this function returns full information about the referenced type. You can then
-inspect the type of the returned <link xref="GIBaseInfo">GIBaseInfo</link> to further query whether it is
-a concrete GObject, a GInterface, a structure, etc. using g_base_info_get_type().</p><p>g_base_info_unref() when done.</p></page>
+inspect the type of the returned <link xref="GIRepository.BaseInfo">GIRepository.BaseInfo</link> to further query whether it is
+a concrete GObject, a GInterface, a structure, etc. using g_base_info_get_type().</p><p>g_base_info_unref() when done.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.TypeInfo">GIRepository.TypeInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the <link xref="GIRepository.BaseInfo">GIRepository.BaseInfo</link>, or None. Free it with</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_param_type.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_param_type.page
index 1cc7d67a..6c8c038d 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_param_type.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_param_type.page
@@ -1,11 +1,48 @@
<?xml version="1.0"?>
+
<page id="GIRepository.type_info_get_param_type"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.TypeInfo</api:type>
+ </api:returns>
+ <api:name>g_type_info_get_param_type</api:name>
+ <api:arg>
+ <api:type>GIRepository.TypeInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>gint</api:type>
+ <api:name>n</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.type_info_get_param_type</title>
-<p>Obtain the parameter type @n.</p></page>
+ <title>type_info_get_param_type</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.TypeInfo, gint)
+@returns(GIRepository.TypeInfo)
+def type_info_get_param_type(info, n)
+</code></synopsis>
+<p>Obtain the parameter type @n.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.TypeInfo">GIRepository.TypeInfo</link></p></td>
+</tr>
+<tr>
+<td><p>n :</p></td>
+<td><p>index of the parameter</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the param type info</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_tag.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_tag.page
index 73baf7a4..f4bd50a9 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_tag.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_tag.page
@@ -1,12 +1,41 @@
<?xml version="1.0"?>
+
<page id="GIRepository.type_info_get_tag"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.TypeTag</api:type>
+ </api:returns>
+ <api:name>g_type_info_get_tag</api:name>
+ <api:arg>
+ <api:type>GIRepository.TypeInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.type_info_get_tag</title>
-<p>Obtain the type tag for the type. See <link xref="GITypeTag">GITypeTag</link> for a list
-of type tags.</p></page>
+ <title>type_info_get_tag</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.TypeInfo)
+@returns(GIRepository.TypeTag)
+def type_info_get_tag(info)
+</code></synopsis>
+<p>Obtain the type tag for the type. See <link xref="GIRepository.TypeTag">GIRepository.TypeTag</link> for a list
+of type tags.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.TypeInfo">GIRepository.TypeInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the type tag</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_is_pointer.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_is_pointer.page
index ddc7f678..f8383b64 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_is_pointer.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_is_pointer.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.type_info_is_pointer"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gboolean</api:type>
+ </api:returns>
+ <api:name>g_type_info_is_pointer</api:name>
+ <api:arg>
+ <api:type>GIRepository.TypeInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.type_info_is_pointer</title>
-<p>Obtain if the type is passed as a reference.</p></page>
+ <title>type_info_is_pointer</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.TypeInfo)
+@returns(gboolean)
+def type_info_is_pointer(info)
+</code></synopsis>
+<p>Obtain if the type is passed as a reference.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.TypeInfo">GIRepository.TypeInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>True if it is a pointer</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_is_zero_terminated.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_is_zero_terminated.page
index ad8e22bf..1c78bdd0 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_is_zero_terminated.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_is_zero_terminated.page
@@ -1,12 +1,41 @@
<?xml version="1.0"?>
+
<page id="GIRepository.type_info_is_zero_terminated"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gboolean</api:type>
+ </api:returns>
+ <api:name>g_type_info_is_zero_terminated</api:name>
+ <api:arg>
+ <api:type>GIRepository.TypeInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.type_info_is_zero_terminated</title>
-<p>Obtain if the last element of the array is %NULL. The type tag must be a
-<link xref="GI_TYPE_TAG_ARRAY">GI_TYPE_TAG_ARRAY</link> or %FALSE will returned.</p></page>
+ <title>type_info_is_zero_terminated</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.TypeInfo)
+@returns(gboolean)
+def type_info_is_zero_terminated(info)
+</code></synopsis>
+<p>Obtain if the last element of the array is None. The type tag must be a
+<link xref="GI_TYPE_TAG_ARRAY">GI_TYPE_TAG_ARRAY</link> or False will returned.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.TypeInfo">GIRepository.TypeInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>True if zero terminated</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_tag_to_string.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_tag_to_string.page
index e6df08f0..8e0dc3c2 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_tag_to_string.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_tag_to_string.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.type_tag_to_string"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>utf8</api:type>
+ </api:returns>
+ <api:name>g_type_tag_to_string</api:name>
+ <api:arg>
+ <api:type>GIRepository.TypeTag</api:type>
+ <api:name>type</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.type_tag_to_string</title>
-<p>Obtain a string representation of @type</p></page>
+ <title>type_tag_to_string</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.TypeTag)
+@returns(utf8)
+def type_tag_to_string(type)
+</code></synopsis>
+<p>Obtain a string representation of @type</p>
+
+<table>
+<tr>
+<td><p>type :</p></td>
+<td><p>the type_tag</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the string</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_find_method.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_find_method.page
index d79cbe36..1e8ccc8f 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_find_method.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_find_method.page
@@ -1,11 +1,48 @@
<?xml version="1.0"?>
+
<page id="GIRepository.union_info_find_method"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.FunctionInfo</api:type>
+ </api:returns>
+ <api:name>g_union_info_find_method</api:name>
+ <api:arg>
+ <api:type>GIRepository.UnionInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>utf8</api:type>
+ <api:name>name</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.union_info_find_method</title>
-<p>Obtain the type information for method named @name.</p><p>when done.</p></page>
+ <title>union_info_find_method</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.UnionInfo, utf8)
+@returns(GIRepository.FunctionInfo)
+def union_info_find_method(info, name)
+</code></synopsis>
+<p>Obtain the type information for method named @name.</p><p>when done.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.UnionInfo">GIRepository.UnionInfo</link></p></td>
+</tr>
+<tr>
+<td><p>name :</p></td>
+<td><p>a method name</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the <link xref="GIRepository.FunctionInfo">GIRepository.FunctionInfo</link>, free it with g_base_info_unref()</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_alignment.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_alignment.page
index 67f1343e..41a4478f 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_alignment.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_alignment.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.union_info_get_alignment"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gsize</api:type>
+ </api:returns>
+ <api:name>g_union_info_get_alignment</api:name>
+ <api:arg>
+ <api:type>GIRepository.UnionInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.union_info_get_alignment</title>
-<p>Obtain the required alignment of the union.</p></page>
+ <title>union_info_get_alignment</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.UnionInfo)
+@returns(gsize)
+def union_info_get_alignment(info)
+</code></synopsis>
+<p>Obtain the required alignment of the union.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.UnionInfo">GIRepository.UnionInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>required alignment in bytes</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_discriminator.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_discriminator.page
index c52fe728..4f2bc8cf 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_discriminator.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_discriminator.page
@@ -1,13 +1,50 @@
<?xml version="1.0"?>
+
<page id="GIRepository.union_info_get_discriminator"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.ConstantInfo</api:type>
+ </api:returns>
+ <api:name>g_union_info_get_discriminator</api:name>
+ <api:arg>
+ <api:type>GIRepository.UnionInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>gint</api:type>
+ <api:name>n</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.union_info_get_discriminator</title>
+ <title>union_info_get_discriminator</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.UnionInfo, gint)
+@returns(GIRepository.ConstantInfo)
+def union_info_get_discriminator(info, n)
+</code></synopsis>
<p>Obtain discriminator value assigned for n-th union field, i.e. n-th
union field is the active one if discriminator contains this
-constant.</p><p>when done.</p></page>
+constant.</p><p>when done.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.UnionInfo">GIRepository.UnionInfo</link></p></td>
+</tr>
+<tr>
+<td><p>n :</p></td>
+<td><p>a union field index</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the <link xref="GIRepository.ConstantInfo">GIRepository.ConstantInfo</link>, free it with g_base_info_unref()</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_discriminator_offset.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_discriminator_offset.page
index 848b4532..f4607bd0 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_discriminator_offset.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_discriminator_offset.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.union_info_get_discriminator_offset"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gint</api:type>
+ </api:returns>
+ <api:name>g_union_info_get_discriminator_offset</api:name>
+ <api:arg>
+ <api:type>GIRepository.UnionInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.union_info_get_discriminator_offset</title>
+ <title>union_info_get_discriminator_offset</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.UnionInfo)
+@returns(gint)
+def union_info_get_discriminator_offset(info)
+</code></synopsis>
+
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td></td>
+</tr>
+</table>
</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_discriminator_type.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_discriminator_type.page
index 09f7f308..c6d1c99c 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_discriminator_type.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_discriminator_type.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.union_info_get_discriminator_type"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.TypeInfo</api:type>
+ </api:returns>
+ <api:name>g_union_info_get_discriminator_type</api:name>
+ <api:arg>
+ <api:type>GIRepository.UnionInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.union_info_get_discriminator_type</title>
-<p>Obtain the type information of the union discriminator.</p><p>when done.</p></page>
+ <title>union_info_get_discriminator_type</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.UnionInfo)
+@returns(GIRepository.TypeInfo)
+def union_info_get_discriminator_type(info)
+</code></synopsis>
+<p>Obtain the type information of the union discriminator.</p><p>when done.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.UnionInfo">GIRepository.UnionInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the <link xref="GIRepository.TypeInfo">GIRepository.TypeInfo</link>, free it with g_base_info_unref()</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_field.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_field.page
index 3dd15117..71971333 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_field.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_field.page
@@ -1,11 +1,48 @@
<?xml version="1.0"?>
+
<page id="GIRepository.union_info_get_field"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.FieldInfo</api:type>
+ </api:returns>
+ <api:name>g_union_info_get_field</api:name>
+ <api:arg>
+ <api:type>GIRepository.UnionInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>gint</api:type>
+ <api:name>n</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.union_info_get_field</title>
-<p>Obtain the type information for field with specified index.</p><p>when done.</p></page>
+ <title>union_info_get_field</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.UnionInfo, gint)
+@returns(GIRepository.FieldInfo)
+def union_info_get_field(info, n)
+</code></synopsis>
+<p>Obtain the type information for field with specified index.</p><p>when done.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.UnionInfo">GIRepository.UnionInfo</link></p></td>
+</tr>
+<tr>
+<td><p>n :</p></td>
+<td><p>a field index</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the <link xref="GIRepository.FieldInfo">GIRepository.FieldInfo</link>, free it with g_base_info_unref()</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_method.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_method.page
index efaa9dc9..b0f9c60e 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_method.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_method.page
@@ -1,11 +1,48 @@
<?xml version="1.0"?>
+
<page id="GIRepository.union_info_get_method"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.FunctionInfo</api:type>
+ </api:returns>
+ <api:name>g_union_info_get_method</api:name>
+ <api:arg>
+ <api:type>GIRepository.UnionInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>gint</api:type>
+ <api:name>n</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.union_info_get_method</title>
-<p>Obtain the type information for method with specified index.</p><p>when done.</p></page>
+ <title>union_info_get_method</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.UnionInfo, gint)
+@returns(GIRepository.FunctionInfo)
+def union_info_get_method(info, n)
+</code></synopsis>
+<p>Obtain the type information for method with specified index.</p><p>when done.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.UnionInfo">GIRepository.UnionInfo</link></p></td>
+</tr>
+<tr>
+<td><p>n :</p></td>
+<td><p>a method index</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the <link xref="GIRepository.FunctionInfo">GIRepository.FunctionInfo</link>, free it with g_base_info_unref()</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_n_fields.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_n_fields.page
index 1b9cd575..8467d7ef 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_n_fields.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_n_fields.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.union_info_get_n_fields"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gint</api:type>
+ </api:returns>
+ <api:name>g_union_info_get_n_fields</api:name>
+ <api:arg>
+ <api:type>GIRepository.UnionInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.union_info_get_n_fields</title>
-<p>Obtain the number of fields this union has.</p></page>
+ <title>union_info_get_n_fields</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.UnionInfo)
+@returns(gint)
+def union_info_get_n_fields(info)
+</code></synopsis>
+<p>Obtain the number of fields this union has.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.UnionInfo">GIRepository.UnionInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>number of fields</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_n_methods.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_n_methods.page
index ab0e8073..aa6a24a8 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_n_methods.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_n_methods.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.union_info_get_n_methods"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gint</api:type>
+ </api:returns>
+ <api:name>g_union_info_get_n_methods</api:name>
+ <api:arg>
+ <api:type>GIRepository.UnionInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.union_info_get_n_methods</title>
-<p>Obtain the number of methods this union has.</p></page>
+ <title>union_info_get_n_methods</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.UnionInfo)
+@returns(gint)
+def union_info_get_n_methods(info)
+</code></synopsis>
+<p>Obtain the number of methods this union has.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.UnionInfo">GIRepository.UnionInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>number of methods</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_size.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_size.page
index daf0281b..7fd35af7 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_size.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_size.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.union_info_get_size"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gsize</api:type>
+ </api:returns>
+ <api:name>g_union_info_get_size</api:name>
+ <api:arg>
+ <api:type>GIRepository.UnionInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.union_info_get_size</title>
-<p>Obtain the total size of the union.</p></page>
+ <title>union_info_get_size</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.UnionInfo)
+@returns(gsize)
+def union_info_get_size(info)
+</code></synopsis>
+<p>Obtain the total size of the union.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.UnionInfo">GIRepository.UnionInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>size of the union in bytes</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_is_discriminated.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_is_discriminated.page
index d7951626..957b9305 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_is_discriminated.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_is_discriminated.page
@@ -1,11 +1,40 @@
<?xml version="1.0"?>
+
<page id="GIRepository.union_info_is_discriminated"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gboolean</api:type>
+ </api:returns>
+ <api:name>g_union_info_is_discriminated</api:name>
+ <api:arg>
+ <api:type>GIRepository.UnionInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.union_info_is_discriminated</title>
-<p>Return true if this union contains discriminator field.</p></page>
+ <title>union_info_is_discriminated</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.UnionInfo)
+@returns(gboolean)
+def union_info_is_discriminated(info)
+</code></synopsis>
+<p>Return true if this union contains discriminator field.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.UnionInfo">GIRepository.UnionInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>True if this is a discriminated union, False otherwise</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.value_info_get_value.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.value_info_get_value.page
index 0ecb0cb8..da4d0c04 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.value_info_get_value.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.value_info_get_value.page
@@ -1,12 +1,41 @@
<?xml version="1.0"?>
+
<page id="GIRepository.value_info_get_value"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gint64</api:type>
+ </api:returns>
+ <api:name>g_value_info_get_value</api:name>
+ <api:arg>
+ <api:type>GIRepository.ValueInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.value_info_get_value</title>
-<p>Obtain the enumeration value of the <link xref="GIValueInfo">GIValueInfo</link>.</p><p>as a 32-bit signed or unsigned value. The use of gint64 as the
-return type is to allow both.</p></page>
+ <title>value_info_get_value</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ValueInfo)
+@returns(gint64)
+def value_info_get_value(info)
+</code></synopsis>
+<p>Obtain the enumeration value of the <link xref="GIRepository.ValueInfo">GIRepository.ValueInfo</link>.</p><p>as a 32-bit signed or unsigned value. The use of gint64 as the
+return type is to allow both.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.ValueInfo">GIRepository.ValueInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the enumeration value. This will always be representable</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_address.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_address.page
index 4569fe79..ecccffca 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_address.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_address.page
@@ -1,12 +1,49 @@
<?xml version="1.0"?>
+
<page id="GIRepository.vfunc_info_get_address"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gpointer</api:type>
+ </api:returns>
+ <api:name>g_vfunc_info_get_address</api:name>
+ <api:arg>
+ <api:type>GIRepository.VFuncInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>GType</api:type>
+ <api:name>implementor_gtype</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.vfunc_info_get_address</title>
+ <title>vfunc_info_get_address</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.VFuncInfo, GType)
+@returns(gpointer)
+def vfunc_info_get_address(info, implementor_gtype)
+</code></synopsis>
<p>This method will look up where inside the type struct of @implementor_gtype
-is the implementation for @info.</p></page>
+is the implementation for @info.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.VFuncInfo">GIRepository.VFuncInfo</link></p></td>
+</tr>
+<tr>
+<td><p>implementor_gtype :</p></td>
+<td><p><link xref="GType">GType</link> implementing this virtual function</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>address to a function or None if an error happened</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_flags.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_flags.page
index 5b2dfb7d..c4690bf1 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_flags.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_flags.page
@@ -1,12 +1,41 @@
<?xml version="1.0"?>
+
<page id="GIRepository.vfunc_info_get_flags"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.VFuncInfoFlags</api:type>
+ </api:returns>
+ <api:name>g_vfunc_info_get_flags</api:name>
+ <api:arg>
+ <api:type>GIRepository.VFuncInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.vfunc_info_get_flags</title>
-<p>Obtain the flags for this virtual function info. See <link xref="GIVFuncInfoFlags">GIVFuncInfoFlags</link> for
-more information about possible flag values.</p></page>
+ <title>vfunc_info_get_flags</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.VFuncInfo)
+@returns(GIRepository.VFuncInfoFlags)
+def vfunc_info_get_flags(info)
+</code></synopsis>
+<p>Obtain the flags for this virtual function info. See <link xref="GIRepository.VFuncInfoFlags">GIRepository.VFuncInfoFlags</link> for
+more information about possible flag values.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.VFuncInfo">GIRepository.VFuncInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the flags</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_invoker.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_invoker.page
index 042bbbc4..95819a90 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_invoker.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_invoker.page
@@ -1,12 +1,41 @@
<?xml version="1.0"?>
+
<page id="GIRepository.vfunc_info_get_invoker"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.FunctionInfo</api:type>
+ </api:returns>
+ <api:name>g_vfunc_info_get_invoker</api:name>
+ <api:arg>
+ <api:type>GIRepository.VFuncInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.vfunc_info_get_invoker</title>
+ <title>vfunc_info_get_invoker</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.VFuncInfo)
+@returns(GIRepository.FunctionInfo)
+def vfunc_info_get_invoker(info)
+</code></synopsis>
<p>If this virtual function has an associated invoker method, this
-method will return it. An invoker method is a C entry point.</p><p>Not all virtuals will have invokers.</p><p>g_base_info_unref() when done.</p></page>
+method will return it. An invoker method is a C entry point.</p><p>Not all virtuals will have invokers.</p><p>g_base_info_unref() when done.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.VFuncInfo">GIRepository.VFuncInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the <link xref="GIRepository.VFuncInfo">GIRepository.VFuncInfo</link> or None. Free it with</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_offset.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_offset.page
index 9c219290..da482367 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_offset.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_offset.page
@@ -1,12 +1,41 @@
<?xml version="1.0"?>
+
<page id="GIRepository.vfunc_info_get_offset"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gint</api:type>
+ </api:returns>
+ <api:name>g_vfunc_info_get_offset</api:name>
+ <api:arg>
+ <api:type>GIRepository.VFuncInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.vfunc_info_get_offset</title>
+ <title>vfunc_info_get_offset</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.VFuncInfo)
+@returns(gint)
+def vfunc_info_get_offset(info)
+</code></synopsis>
<p>Obtain the offset of the function pointer in the class struct. The value
-0xFFFF indicates that the struct offset is unknown.</p></page>
+0xFFFF indicates that the struct offset is unknown.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.VFuncInfo">GIRepository.VFuncInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the struct offset or 0xFFFF if it's unknown</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_signal.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_signal.page
index d21acdc5..b6bf3019 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_signal.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_signal.page
@@ -1,13 +1,42 @@
<?xml version="1.0"?>
+
<page id="GIRepository.vfunc_info_get_signal"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>GIRepository.SignalInfo</api:type>
+ </api:returns>
+ <api:name>g_vfunc_info_get_signal</api:name>
+ <api:arg>
+ <api:type>GIRepository.VFuncInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.vfunc_info_get_signal</title>
+ <title>vfunc_info_get_signal</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.VFuncInfo)
+@returns(GIRepository.SignalInfo)
+def vfunc_info_get_signal(info)
+</code></synopsis>
<p>Obtain the signal for the virtual function if one is set.
The signal comes from the object or interface to which
-this virtual function belongs.</p></page>
+this virtual function belongs.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.VFuncInfo">GIRepository.VFuncInfo</link></p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>the signal or None if none set</p></td>
+</tr>
+</table>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_invoke.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_invoke.page
index f3b8533f..197cb20f 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_invoke.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_invoke.page
@@ -1,13 +1,90 @@
<?xml version="1.0"?>
+
<page id="GIRepository.vfunc_info_invoke"
type="topic"
style="function"
xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
<link type="guide" xref="index" group="function"/>
+ <api:function>
+ <api:returns>
+ <api:type>gboolean</api:type>
+ </api:returns>
+ <api:name>g_vfunc_info_invoke</api:name>
+ <api:arg>
+ <api:type>GIRepository.VFuncInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>GType</api:type>
+ <api:name>implementor</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>None</api:type>
+ <api:name>in_args</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>gint</api:type>
+ <api:name>n_in_args</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>None</api:type>
+ <api:name>out_args</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>gint</api:type>
+ <api:name>n_out_args</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>None</api:type>
+ <api:name>return_value</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.vfunc_info_invoke</title>
+ <title>vfunc_info_invoke</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.VFuncInfo, GType, None, gint, None, gint, None)
+@returns(gboolean)
+def vfunc_info_invoke(info, implementor, in_args, n_in_args, out_args, n_out_args, return_value)
+</code></synopsis>
<p>Invokes the function described in @info with the given
arguments. Note that inout parameters must appear in both
-argument lists.</p><p>error occurred.</p></page>
+argument lists.</p><p>error occurred.</p>
+
+<table>
+<tr>
+<td><p>info :</p></td>
+<td><p>a <link xref="GIRepository.VFuncInfo">GIRepository.VFuncInfo</link> describing the virtual function to invoke</p></td>
+</tr>
+<tr>
+<td><p>implementor :</p></td>
+<td><p><link xref="GType">GType</link> of the type that implements this virtual function</p></td>
+</tr>
+<tr>
+<td><p>in_args :</p></td>
+<td><p>an array of <link xref="GIArgument">GIArgument</link>&lt;!-- --&gt;s, one for each in parameter of @info. If there are no in parameter, @in_args can be None</p></td>
+</tr>
+<tr>
+<td><p>n_in_args :</p></td>
+<td><p>the length of the @in_args array</p></td>
+</tr>
+<tr>
+<td><p>out_args :</p></td>
+<td><p>an array of <link xref="GIArgument">GIArgument</link>&lt;!-- --&gt;s, one for each out parameter of @info. If there are no out parameters, @out_args may be None</p></td>
+</tr>
+<tr>
+<td><p>n_out_args :</p></td>
+<td><p>the length of the @out_args array</p></td>
+</tr>
+<tr>
+<td><p>return_value :</p></td>
+<td><p>return location for the return value of the function. If the function returns void, @return_value may be None</p></td>
+</tr>
+<tr>
+<td><p>Returns :</p></td>
+<td><p>True if the function has been invoked, False if an</p></td>
+</tr>
+</table>
+</page>