[gobject-introspection] g-ir-doc-tool: Create a GIR file specific for testing doc generation
- From: Tomeu Vizoso <tomeuv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] g-ir-doc-tool: Create a GIR file specific for testing doc generation
- Date: Tue, 21 Feb 2012 16:18:39 +0000 (UTC)
commit 52c07daf1fa3a5d17957cc3e3d0d75c65b268b57
Author: Tomeu Vizoso <tomeu vizoso collabora com>
Date: Tue Feb 21 16:17:59 2012 +0100
g-ir-doc-tool: Create a GIR file specific for testing doc generation
This will also serve as a reference of the syntax that is currently
supported by g-ir-doc-tool.
.../DocExamples.Obj-property-example.page | 13 +++
.../DocExamples.Obj-signal-example.page | 15 +++
.../DocExamples.Obj.new.page} | 14 ++--
.../DocExamples.Obj.page} | 7 +-
.../DocExamples.ObjClass.page} | 4 +-
.../index.page | 2 +-
.../DocExamples.Obj-property-example.page | 16 +++
.../DocExamples.Obj-signal-example.page | 38 +++++++
.../DocExamples.Obj.new.page} | 16 ++--
.../DocExamples.Obj.page} | 11 +-
.../DocExamples.ObjClass.page} | 4 +-
.../index.page | 2 +-
.../GIRepository.ArgInfo.page | 11 --
.../GIRepository.ArrayType.page | 12 ---
.../GIRepository.AttributeIter.page | 13 ---
.../GIRepository.BaseInfo.equal.page | 40 --------
.../GIRepository.BaseInfo.get_attribute.page | 38 -------
.../GIRepository.BaseInfo.get_container.page | 32 ------
.../GIRepository.BaseInfo.get_name.page | 32 ------
.../GIRepository.BaseInfo.get_namespace.page | 30 ------
.../GIRepository.BaseInfo.get_typelib.page | 30 ------
.../GIRepository.BaseInfo.is_deprecated.page | 31 ------
.../GIRepository.BaseInfo.iterate_attributes.page | 74 --------------
.../GIRepository.BaseInfo.page | 44 ---------
.../GIRepository.BaseInfo.ref.page | 30 ------
.../GIRepository.BaseInfo.unref.page | 31 ------
.../GIRepository.CallableInfo.page | 12 ---
.../GIRepository.CallbackInfo.page | 11 --
.../GIRepository.ConstantInfo.page | 11 --
.../GIRepository.Direction.page | 12 ---
.../GIRepository.EnumInfo.page | 11 --
.../GIRepository.FieldInfo.page | 11 --
.../GIRepository.FieldInfoFlags.page | 11 --
.../GIRepository.FunctionInfo.page | 11 --
.../GIRepository.FunctionInfoFlags.page | 11 --
.../GIRepository.InfoType.page | 12 ---
.../GIRepository.InterfaceInfo.page | 11 --
.../GIRepository.ObjectInfo.page | 11 --
.../GIRepository.ObjectInfoGetValueFunction.page | 11 --
.../GIRepository.ObjectInfoRefFunction.page | 11 --
.../GIRepository.ObjectInfoSetValueFunction.page | 11 --
.../GIRepository.ObjectInfoUnrefFunction.page | 11 --
.../GIRepository.PropertyInfo.page | 11 --
.../GIRepository.RegisteredTypeInfo.page | 11 --
.../GIRepository.Repository.dump.page | 38 -------
...GIRepository.Repository.enumerate_versions.page | 44 ---------
.../GIRepository.Repository.error_quark.page | 30 ------
...Repository.Repository.find_by_error_domain.page | 47 ---------
.../GIRepository.Repository.find_by_gtype.page | 48 ---------
.../GIRepository.Repository.find_by_name.page | 55 -----------
.../GIRepository.Repository.get_c_prefix.page | 46 ---------
.../GIRepository.Repository.get_default.page | 38 -------
.../GIRepository.Repository.get_dependencies.page | 46 ---------
.../GIRepository.Repository.get_info.page | 56 -----------
...epository.Repository.get_loaded_namespaces.page | 34 -------
.../GIRepository.Repository.get_n_infos.page | 45 ---------
.../GIRepository.Repository.get_option_group.page | 32 ------
.../GIRepository.Repository.get_search_path.page | 32 ------
...GIRepository.Repository.get_shared_library.page | 47 ---------
.../GIRepository.Repository.get_typelib_path.page | 46 ---------
.../GIRepository.Repository.get_version.page | 45 ---------
.../GIRepository.Repository.is_registered.page | 57 -----------
.../GIRepository.Repository.load_typelib.page | 52 ----------
...IRepository.Repository.prepend_search_path.page | 38 -------
.../GIRepository.Repository.require.page | 65 ------------
.../GIRepository.Repository.require_private.page | 74 --------------
.../GIRepository.RepositoryClass.page | 12 ---
.../GIRepository.RepositoryError.page | 12 ---
.../GIRepository.RepositoryLoadFlags.page | 12 ---
.../GIRepository.ScopeType.page | 14 ---
.../GIRepository.SignalInfo.page | 11 --
.../GIRepository.StructInfo.page | 11 --
.../GIRepository.Transfer.page | 21 ----
.../GIRepository.TypeInfo.page | 11 --
.../GIRepository.TypeTag.page | 12 ---
.../GIRepository.UnionInfo.page | 11 --
.../GIRepository.VFuncInfo.page | 11 --
.../GIRepository.VFuncInfoFlags.page | 11 --
.../GIRepository.ValueInfo.page | 11 --
.../GIRepository._Argument.page | 11 --
.../GIRepository.arg_info_get_closure.page | 39 --------
.../GIRepository.arg_info_get_destroy.page | 39 --------
.../GIRepository.arg_info_get_direction.page | 39 --------
...Repository.arg_info_get_ownership_transfer.page | 39 --------
.../GIRepository.arg_info_get_scope.page | 41 --------
.../GIRepository.arg_info_get_type.page | 38 -------
.../GIRepository.arg_info_is_caller_allocates.page | 41 --------
.../GIRepository.arg_info_is_optional.page | 38 -------
.../GIRepository.arg_info_is_return_value.page | 39 --------
.../GIRepository.arg_info_is_skip.page | 39 --------
.../GIRepository.arg_info_load_type.page | 49 ---------
.../GIRepository.arg_info_may_be_null.page | 38 -------
.../GIRepository.base_info_get_type.page | 38 -------
.../GIRepository.callable_info_get_arg.page | 47 ---------
...GIRepository.callable_info_get_caller_owns.page | 39 --------
.../GIRepository.callable_info_get_n_args.page | 38 -------
...ository.callable_info_get_return_attribute.page | 47 ---------
...GIRepository.callable_info_get_return_type.page | 38 -------
...ry.callable_info_iterate_return_attributes.page | 69 -------------
.../GIRepository.callable_info_load_arg.page | 58 -----------
...IRepository.callable_info_load_return_type.page | 49 ---------
...GIRepository.callable_info_may_return_null.page | 38 -------
.../GIRepository.callable_info_skip_return.page | 38 -------
.../GIRepository.constant_info_free_value.page | 48 ---------
.../GIRepository.constant_info_get_type.page | 38 -------
.../GIRepository.constant_info_get_value.page | 50 ----------
.../GIRepository.enum_info_get_error_domain.page | 38 -------
.../GIRepository.enum_info_get_method.page | 48 ---------
.../GIRepository.enum_info_get_n_methods.page | 39 --------
.../GIRepository.enum_info_get_n_values.page | 38 -------
.../GIRepository.enum_info_get_storage_type.page | 42 --------
.../GIRepository.enum_info_get_value.page | 47 ---------
.../GIRepository.field_info_get_field.page | 59 -----------
.../GIRepository.field_info_get_flags.page | 39 --------
.../GIRepository.field_info_get_offset.page | 39 --------
.../GIRepository.field_info_get_size.page | 39 --------
.../GIRepository.field_info_get_type.page | 38 -------
.../GIRepository.field_info_set_field.page | 61 ------------
.../GIRepository.function_info_get_flags.page | 38 -------
.../GIRepository.function_info_get_property.page | 41 --------
.../GIRepository.function_info_get_symbol.page | 40 --------
.../GIRepository.function_info_get_vfunc.page | 40 --------
.../GIRepository.function_info_invoke.page | 88 -----------------
.../GIRepository.info_new.page | 65 ------------
.../GIRepository.info_type_to_string.page | 38 -------
.../GIRepository.interface_info_find_method.page | 48 ---------
.../GIRepository.interface_info_find_vfunc.page | 48 ---------
.../GIRepository.interface_info_get_constant.page | 47 ---------
...Repository.interface_info_get_iface_struct.page | 38 -------
.../GIRepository.interface_info_get_method.page | 47 ---------
...IRepository.interface_info_get_n_constants.page | 38 -------
.../GIRepository.interface_info_get_n_methods.page | 38 -------
...ository.interface_info_get_n_prerequisites.page | 40 --------
...Repository.interface_info_get_n_properties.page | 38 -------
.../GIRepository.interface_info_get_n_signals.page | 38 -------
.../GIRepository.interface_info_get_n_vfuncs.page | 38 -------
...Repository.interface_info_get_prerequisite.page | 47 ---------
.../GIRepository.interface_info_get_property.page | 47 ---------
.../GIRepository.interface_info_get_signal.page | 47 ---------
.../GIRepository.interface_info_get_vfunc.page | 47 ---------
.../GIRepository.nvokeError.page | 13 ---
.../GIRepository.object_info_find_method.page | 48 ---------
...y.object_info_find_method_using_interfaces.page | 59 -----------
.../GIRepository.object_info_find_signal.page | 47 ---------
.../GIRepository.object_info_find_vfunc.page | 53 ----------
...ry.object_info_find_vfunc_using_interfaces.page | 62 ------------
.../GIRepository.object_info_get_abstract.page | 39 --------
.../GIRepository.object_info_get_class_struct.page | 39 --------
.../GIRepository.object_info_get_constant.page | 47 ---------
.../GIRepository.object_info_get_field.page | 47 ---------
.../GIRepository.object_info_get_fundamental.page | 39 --------
...ository.object_info_get_get_value_function.page | 42 --------
...object_info_get_get_value_function_pointer.page | 41 --------
.../GIRepository.object_info_get_interface.page | 47 ---------
.../GIRepository.object_info_get_method.page | 47 ---------
.../GIRepository.object_info_get_n_constants.page | 38 -------
.../GIRepository.object_info_get_n_fields.page | 38 -------
.../GIRepository.object_info_get_n_interfaces.page | 38 -------
.../GIRepository.object_info_get_n_methods.page | 38 -------
.../GIRepository.object_info_get_n_properties.page | 38 -------
.../GIRepository.object_info_get_n_signals.page | 38 -------
.../GIRepository.object_info_get_n_vfuncs.page | 38 -------
.../GIRepository.object_info_get_parent.page | 38 -------
.../GIRepository.object_info_get_property.page | 47 ---------
.../GIRepository.object_info_get_ref_function.page | 41 --------
...itory.object_info_get_ref_function_pointer.page | 41 --------
...ository.object_info_get_set_value_function.page | 42 --------
...object_info_get_set_value_function_pointer.page | 41 --------
.../GIRepository.object_info_get_signal.page | 47 ---------
.../GIRepository.object_info_get_type_init.page | 39 --------
.../GIRepository.object_info_get_type_name.page | 38 -------
...IRepository.object_info_get_unref_function.page | 41 --------
...ory.object_info_get_unref_function_pointer.page | 41 --------
.../GIRepository.object_info_get_vfunc.page | 47 ---------
.../GIRepository.property_info_get_flags.page | 39 --------
...itory.property_info_get_ownership_transfer.page | 39 --------
.../GIRepository.property_info_get_type.page | 38 -------
...Repository.registered_type_info_get_g_type.page | 41 --------
...ository.registered_type_info_get_type_init.page | 41 --------
...ository.registered_type_info_get_type_name.page | 39 --------
...GIRepository.signal_info_get_class_closure.page | 40 --------
.../GIRepository.signal_info_get_flags.page | 39 --------
.../GIRepository.signal_info_true_stops_emit.page | 39 --------
.../GIRepository.struct_info_find_method.page | 47 ---------
.../GIRepository.struct_info_get_alignment.page | 38 -------
.../GIRepository.struct_info_get_field.page | 47 ---------
.../GIRepository.struct_info_get_method.page | 47 ---------
.../GIRepository.struct_info_get_n_fields.page | 38 -------
.../GIRepository.struct_info_get_n_methods.page | 38 -------
.../GIRepository.struct_info_get_size.page | 38 -------
.../GIRepository.struct_info_is_foreign.page | 38 -------
.../GIRepository.struct_info_is_gtype_struct.page | 40 --------
...IRepository.type_info_get_array_fixed_size.page | 39 --------
.../GIRepository.type_info_get_array_length.page | 39 --------
.../GIRepository.type_info_get_array_type.page | 40 --------
.../GIRepository.type_info_get_interface.page | 41 --------
.../GIRepository.type_info_get_param_type.page | 47 ---------
.../GIRepository.type_info_get_tag.page | 39 --------
.../GIRepository.type_info_is_pointer.page | 38 -------
.../GIRepository.type_info_is_zero_terminated.page | 39 --------
.../GIRepository.type_tag_to_string.page | 38 -------
.../GIRepository.union_info_find_method.page | 47 ---------
.../GIRepository.union_info_get_alignment.page | 38 -------
.../GIRepository.union_info_get_discriminator.page | 49 ---------
...sitory.union_info_get_discriminator_offset.page | 38 -------
...pository.union_info_get_discriminator_type.page | 38 -------
.../GIRepository.union_info_get_field.page | 47 ---------
.../GIRepository.union_info_get_method.page | 47 ---------
.../GIRepository.union_info_get_n_fields.page | 38 -------
.../GIRepository.union_info_get_n_methods.page | 38 -------
.../GIRepository.union_info_get_size.page | 38 -------
.../GIRepository.union_info_is_discriminated.page | 38 -------
.../GIRepository.value_info_get_value.page | 39 --------
.../GIRepository.vfunc_info_get_address.page | 48 ---------
.../GIRepository.vfunc_info_get_flags.page | 39 --------
.../GIRepository.vfunc_info_get_invoker.page | 39 --------
.../GIRepository.vfunc_info_get_offset.page | 39 --------
.../GIRepository.vfunc_info_get_signal.page | 40 --------
.../GIRepository.vfunc_info_invoke.page | 94 ------------------
.../GIRepository.ArgInfo.page | 11 --
.../GIRepository.ArrayType.page | 31 ------
.../GIRepository.AttributeIter.page | 13 ---
.../GIRepository.BaseInfo.equal.page | 42 --------
.../GIRepository.BaseInfo.get_attribute.page | 40 --------
.../GIRepository.BaseInfo.get_container.page | 33 ------
.../GIRepository.BaseInfo.get_name.page | 33 ------
.../GIRepository.BaseInfo.get_namespace.page | 31 ------
.../GIRepository.BaseInfo.get_typelib.page | 31 ------
.../GIRepository.BaseInfo.is_deprecated.page | 32 ------
.../GIRepository.BaseInfo.iterate_attributes.page | 74 --------------
.../GIRepository.BaseInfo.page | 48 ---------
.../GIRepository.BaseInfo.ref.page | 31 ------
.../GIRepository.BaseInfo.unref.page | 28 ------
.../GIRepository.CallableInfo.page | 12 ---
.../GIRepository.CallbackInfo.page | 11 --
.../GIRepository.ConstantInfo.page | 11 --
.../GIRepository.Direction.page | 27 -----
.../GIRepository.EnumInfo.page | 11 --
.../GIRepository.FieldInfo.page | 11 --
.../GIRepository.FieldInfoFlags.page | 11 --
.../GIRepository.FunctionInfo.page | 11 --
.../GIRepository.FunctionInfoFlags.page | 11 --
.../GIRepository.InfoType.page | 95 ------------------
.../GIRepository.InterfaceInfo.page | 11 --
.../GIRepository.ObjectInfo.page | 11 --
.../GIRepository.ObjectInfoGetValueFunction.page | 11 --
.../GIRepository.ObjectInfoRefFunction.page | 11 --
.../GIRepository.ObjectInfoSetValueFunction.page | 11 --
.../GIRepository.ObjectInfoUnrefFunction.page | 11 --
.../GIRepository.PropertyInfo.page | 11 --
.../GIRepository.RegisteredTypeInfo.page | 11 --
.../GIRepository.Repository.dump.page | 40 --------
...GIRepository.Repository.enumerate_versions.page | 45 ---------
.../GIRepository.Repository.error_quark.page | 31 ------
...Repository.Repository.find_by_error_domain.page | 48 ---------
.../GIRepository.Repository.find_by_gtype.page | 49 ---------
.../GIRepository.Repository.find_by_name.page | 55 -----------
.../GIRepository.Repository.get_c_prefix.page | 47 ---------
.../GIRepository.Repository.get_default.page | 39 --------
.../GIRepository.Repository.get_dependencies.page | 47 ---------
.../GIRepository.Repository.get_info.page | 56 -----------
...epository.Repository.get_loaded_namespaces.page | 35 -------
.../GIRepository.Repository.get_n_infos.page | 46 ---------
.../GIRepository.Repository.get_option_group.page | 33 ------
.../GIRepository.Repository.get_search_path.page | 33 ------
...GIRepository.Repository.get_shared_library.page | 48 ---------
.../GIRepository.Repository.get_typelib_path.page | 47 ---------
.../GIRepository.Repository.get_version.page | 46 ---------
.../GIRepository.Repository.is_registered.page | 57 -----------
.../GIRepository.Repository.load_typelib.page | 52 ----------
...IRepository.Repository.prepend_search_path.page | 36 -------
.../GIRepository.Repository.require.page | 64 ------------
.../GIRepository.Repository.require_private.page | 72 --------------
.../GIRepository.RepositoryClass.page | 12 ---
.../GIRepository.RepositoryError.page | 31 ------
.../GIRepository.RepositoryLoadFlags.page | 12 ---
.../GIRepository.ScopeType.page | 33 ------
.../GIRepository.SignalInfo.page | 11 --
.../GIRepository.StructInfo.page | 11 --
.../GIRepository.Transfer.page | 36 -------
.../GIRepository.TypeInfo.page | 11 --
.../GIRepository.TypeTag.page | 103 --------------------
.../GIRepository.UnionInfo.page | 11 --
.../GIRepository.VFuncInfo.page | 11 --
.../GIRepository.VFuncInfoFlags.page | 11 --
.../GIRepository.ValueInfo.page | 11 --
.../GIRepository._Argument.page | 11 --
.../GIRepository.arg_info_get_closure.page | 41 --------
.../GIRepository.arg_info_get_destroy.page | 41 --------
.../GIRepository.arg_info_get_direction.page | 41 --------
...Repository.arg_info_get_ownership_transfer.page | 41 --------
.../GIRepository.arg_info_get_scope.page | 43 --------
.../GIRepository.arg_info_get_type.page | 40 --------
.../GIRepository.arg_info_is_caller_allocates.page | 43 --------
.../GIRepository.arg_info_is_optional.page | 40 --------
.../GIRepository.arg_info_is_return_value.page | 41 --------
.../GIRepository.arg_info_is_skip.page | 41 --------
.../GIRepository.arg_info_load_type.page | 46 ---------
.../GIRepository.arg_info_may_be_null.page | 40 --------
.../GIRepository.base_info_get_type.page | 40 --------
.../GIRepository.callable_info_get_arg.page | 48 ---------
...GIRepository.callable_info_get_caller_owns.page | 41 --------
.../GIRepository.callable_info_get_n_args.page | 40 --------
...ository.callable_info_get_return_attribute.page | 48 ---------
...GIRepository.callable_info_get_return_type.page | 40 --------
...ry.callable_info_iterate_return_attributes.page | 68 -------------
.../GIRepository.callable_info_load_arg.page | 54 ----------
...IRepository.callable_info_load_return_type.page | 46 ---------
...GIRepository.callable_info_may_return_null.page | 40 --------
.../GIRepository.callable_info_skip_return.page | 40 --------
.../GIRepository.constant_info_free_value.page | 45 ---------
.../GIRepository.constant_info_get_type.page | 40 --------
.../GIRepository.constant_info_get_value.page | 51 ----------
.../GIRepository.enum_info_get_error_domain.page | 40 --------
.../GIRepository.enum_info_get_method.page | 49 ---------
.../GIRepository.enum_info_get_n_methods.page | 41 --------
.../GIRepository.enum_info_get_n_values.page | 40 --------
.../GIRepository.enum_info_get_storage_type.page | 44 ---------
.../GIRepository.enum_info_get_value.page | 48 ---------
.../GIRepository.field_info_get_field.page | 59 -----------
.../GIRepository.field_info_get_flags.page | 41 --------
.../GIRepository.field_info_get_offset.page | 41 --------
.../GIRepository.field_info_get_size.page | 41 --------
.../GIRepository.field_info_get_type.page | 40 --------
.../GIRepository.field_info_set_field.page | 61 ------------
.../GIRepository.function_info_get_flags.page | 40 --------
.../GIRepository.function_info_get_property.page | 43 --------
.../GIRepository.function_info_get_symbol.page | 42 --------
.../GIRepository.function_info_get_vfunc.page | 42 --------
.../GIRepository.function_info_invoke.page | 85 ----------------
.../GIRepository.info_new.page | 64 ------------
.../GIRepository.info_type_to_string.page | 40 --------
.../GIRepository.interface_info_find_method.page | 49 ---------
.../GIRepository.interface_info_find_vfunc.page | 49 ---------
.../GIRepository.interface_info_get_constant.page | 48 ---------
...Repository.interface_info_get_iface_struct.page | 40 --------
.../GIRepository.interface_info_get_method.page | 48 ---------
...IRepository.interface_info_get_n_constants.page | 40 --------
.../GIRepository.interface_info_get_n_methods.page | 40 --------
...ository.interface_info_get_n_prerequisites.page | 42 --------
...Repository.interface_info_get_n_properties.page | 40 --------
.../GIRepository.interface_info_get_n_signals.page | 40 --------
.../GIRepository.interface_info_get_n_vfuncs.page | 40 --------
...Repository.interface_info_get_prerequisite.page | 48 ---------
.../GIRepository.interface_info_get_property.page | 48 ---------
.../GIRepository.interface_info_get_signal.page | 48 ---------
.../GIRepository.interface_info_get_vfunc.page | 48 ---------
.../GIRepository.nvokeError.page | 28 ------
.../GIRepository.object_info_find_method.page | 49 ---------
...y.object_info_find_method_using_interfaces.page | 59 -----------
.../GIRepository.object_info_find_signal.page | 48 ---------
.../GIRepository.object_info_find_vfunc.page | 54 ----------
...ry.object_info_find_vfunc_using_interfaces.page | 62 ------------
.../GIRepository.object_info_get_abstract.page | 41 --------
.../GIRepository.object_info_get_class_struct.page | 41 --------
.../GIRepository.object_info_get_constant.page | 48 ---------
.../GIRepository.object_info_get_field.page | 48 ---------
.../GIRepository.object_info_get_fundamental.page | 41 --------
...ository.object_info_get_get_value_function.page | 44 ---------
...object_info_get_get_value_function_pointer.page | 43 --------
.../GIRepository.object_info_get_interface.page | 48 ---------
.../GIRepository.object_info_get_method.page | 48 ---------
.../GIRepository.object_info_get_n_constants.page | 40 --------
.../GIRepository.object_info_get_n_fields.page | 40 --------
.../GIRepository.object_info_get_n_interfaces.page | 40 --------
.../GIRepository.object_info_get_n_methods.page | 40 --------
.../GIRepository.object_info_get_n_properties.page | 40 --------
.../GIRepository.object_info_get_n_signals.page | 40 --------
.../GIRepository.object_info_get_n_vfuncs.page | 40 --------
.../GIRepository.object_info_get_parent.page | 40 --------
.../GIRepository.object_info_get_property.page | 48 ---------
.../GIRepository.object_info_get_ref_function.page | 43 --------
...itory.object_info_get_ref_function_pointer.page | 43 --------
...ository.object_info_get_set_value_function.page | 44 ---------
...object_info_get_set_value_function_pointer.page | 43 --------
.../GIRepository.object_info_get_signal.page | 48 ---------
.../GIRepository.object_info_get_type_init.page | 41 --------
.../GIRepository.object_info_get_type_name.page | 40 --------
...IRepository.object_info_get_unref_function.page | 43 --------
...ory.object_info_get_unref_function_pointer.page | 43 --------
.../GIRepository.object_info_get_vfunc.page | 48 ---------
.../GIRepository.property_info_get_flags.page | 41 --------
...itory.property_info_get_ownership_transfer.page | 41 --------
.../GIRepository.property_info_get_type.page | 40 --------
...Repository.registered_type_info_get_g_type.page | 43 --------
...ository.registered_type_info_get_type_init.page | 43 --------
...ository.registered_type_info_get_type_name.page | 41 --------
...GIRepository.signal_info_get_class_closure.page | 42 --------
.../GIRepository.signal_info_get_flags.page | 41 --------
.../GIRepository.signal_info_true_stops_emit.page | 41 --------
.../GIRepository.struct_info_find_method.page | 48 ---------
.../GIRepository.struct_info_get_alignment.page | 40 --------
.../GIRepository.struct_info_get_field.page | 48 ---------
.../GIRepository.struct_info_get_method.page | 48 ---------
.../GIRepository.struct_info_get_n_fields.page | 40 --------
.../GIRepository.struct_info_get_n_methods.page | 40 --------
.../GIRepository.struct_info_get_size.page | 40 --------
.../GIRepository.struct_info_is_foreign.page | 40 --------
.../GIRepository.struct_info_is_gtype_struct.page | 42 --------
...IRepository.type_info_get_array_fixed_size.page | 41 --------
.../GIRepository.type_info_get_array_length.page | 41 --------
.../GIRepository.type_info_get_array_type.page | 42 --------
.../GIRepository.type_info_get_interface.page | 43 --------
.../GIRepository.type_info_get_param_type.page | 48 ---------
.../GIRepository.type_info_get_tag.page | 41 --------
.../GIRepository.type_info_is_pointer.page | 40 --------
.../GIRepository.type_info_is_zero_terminated.page | 41 --------
.../GIRepository.type_tag_to_string.page | 40 --------
.../GIRepository.union_info_find_method.page | 48 ---------
.../GIRepository.union_info_get_alignment.page | 40 --------
.../GIRepository.union_info_get_discriminator.page | 50 ----------
...sitory.union_info_get_discriminator_offset.page | 40 --------
...pository.union_info_get_discriminator_type.page | 40 --------
.../GIRepository.union_info_get_field.page | 48 ---------
.../GIRepository.union_info_get_method.page | 48 ---------
.../GIRepository.union_info_get_n_fields.page | 40 --------
.../GIRepository.union_info_get_n_methods.page | 40 --------
.../GIRepository.union_info_get_size.page | 40 --------
.../GIRepository.union_info_is_discriminated.page | 40 --------
.../GIRepository.value_info_get_value.page | 41 --------
.../GIRepository.vfunc_info_get_address.page | 49 ---------
.../GIRepository.vfunc_info_get_flags.page | 41 --------
.../GIRepository.vfunc_info_get_invoker.page | 41 --------
.../GIRepository.vfunc_info_get_offset.page | 41 --------
.../GIRepository.vfunc_info_get_signal.page | 42 --------
.../GIRepository.vfunc_info_invoke.page | 90 -----------------
tests/doctool/Makefile.am | 28 ++++-
tests/doctool/doc-examples-obj.c | 103 ++++++++++++++++++++
tests/doctool/doc-examples-obj.h | 54 ++++++++++
429 files changed, 292 insertions(+), 16113 deletions(-)
---
diff --git a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-property-example.page b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-property-example.page
new file mode 100644
index 0000000..e7702a2
--- /dev/null
+++ b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-property-example.page
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<page id="DocExamples.property-example"
+ type="topic"
+ style="property"
+ xmlns="http://projectmallard.org/1.0/"
+ xmlns:ui="http://projectmallard.org/experimental/ui/">
+ <info>
+ <link type="guide" xref="DocExamples.Obj" group="property"/>
+ <title type="link" role="topic">property-example</title>
+ </info>
+ <title>DocExamplesObj:property-example</title>
+<p>This is an example of how to document a property.</p>
+</page>
diff --git a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-signal-example.page b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-signal-example.page
new file mode 100644
index 0000000..646d294
--- /dev/null
+++ b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-signal-example.page
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<page id="DocExamples.signal-example"
+ type="topic"
+ style="signal"
+ xmlns="http://projectmallard.org/1.0/"
+ xmlns:ui="http://projectmallard.org/experimental/ui/">
+ <info>
+ <link type="guide" xref="DocExamples.Obj" group="signal"/>
+ <title type="link" role="topic">signal-example</title>
+ </info>
+ <title>DocExamplesObj::signal-example</title>
+<p>Emitted when the connection status on the account changes.</p><p>The @dbus_error_name and @details parameters were present, but
+non-functional (always %NULL), in older versions. They have been
+available with their current behaviour since version 0.11.7.</p>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.invoke_error_quark.page b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.new.page
similarity index 59%
rename from tests/doctool/GIRepository-2.0-C-expected/GIRepository.invoke_error_quark.page
rename to tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.new.page
index d59baa9..c20d8c5 100644
--- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.invoke_error_quark.page
+++ b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.new.page
@@ -1,23 +1,23 @@
<?xml version="1.0"?>
-<page id="GIRepository.invoke_error_quark"
+<page id="DocExamples.Obj.new"
type="topic"
- style="function"
+ style="constructor"
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"/>
+ <link type="guide" xref="DocExamples.Obj" group="constructor"/>
<api:function>
<api:returns>
- <api:type>GQuark</api:type>
+ <api:type>DocExamplesObj*</api:type>
</api:returns>
- <api:name>g_invoke_error_quark</api:name>
+ <api:name>doc_examples_obj_new</api:name>
</api:function>
</info>
- <title>g_invoke_error_quark</title>
+ <title>doc_examples_obj_new</title>
<synopsis><code mime="text/x-csrc">
-GQuark g_invoke_error_quark (void);
+DocExamplesObj* doc_examples_obj_new (void);
</code></synopsis>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.page b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.page
similarity index 78%
rename from tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.page
rename to tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.page
index 456c1c0..0a46bd2 100644
--- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.page
+++ b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.page
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<page id="GIRepository.Repository"
+<page id="DocExamples.Obj"
type="guide"
style="class"
xmlns="http://projectmallard.org/1.0/"
@@ -8,8 +8,9 @@
<info>
<link type="guide" xref="index" group="class"/>
</info>
- <title>GIRepository</title>
-
+ <title>DocExamplesObj</title>
+<p>This is an example of how to document a class</p><p>This class has a signal: <link xref="DocExamples.Obj-signal-example">DocExamples.Obj::signal-example</link>.</p><p>And also has a property: <link xref="DocExamples.Obj-property-example">DocExamples.Obj:property-example</link>.</p>
+<p>Since 0.99</p>
<synopsis ui:expanded="no">
<title>Hierarchy</title>
<tree>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository._BaseInfoStub.page b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.ObjClass.page
similarity index 74%
rename from tests/doctool/GIRepository-2.0-C-expected/GIRepository._BaseInfoStub.page
rename to tests/doctool/DocExamples-1.0-C-expected/DocExamples.ObjClass.page
index 42ab6af..c3a958d 100644
--- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository._BaseInfoStub.page
+++ b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.ObjClass.page
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<page id="GIRepository._BaseInfoStub"
+<page id="DocExamples.ObjClass"
type="guide"
style="record"
xmlns="http://projectmallard.org/1.0/"
@@ -7,6 +7,6 @@
<info>
<link type="guide" xref="index"/>
</info>
- <title>GIRepository_BaseInfoStub</title>
+ <title>DocExamplesObjClass</title>
</page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/index.page b/tests/doctool/DocExamples-1.0-C-expected/index.page
similarity index 92%
rename from tests/doctool/GIRepository-2.0-C-expected/index.page
rename to tests/doctool/DocExamples-1.0-C-expected/index.page
index c1ce06a..a61ea75 100644
--- a/tests/doctool/GIRepository-2.0-C-expected/index.page
+++ b/tests/doctool/DocExamples-1.0-C-expected/index.page
@@ -6,7 +6,7 @@
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
</info>
- <title>GIRepository Documentation</title>
+ <title>DocExamples Documentation</title>
<links type="topic" ui:expanded="yes" groups="class" style="linklist">
<title>Classes</title>
</links>
diff --git a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-property-example.page b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-property-example.page
new file mode 100644
index 0000000..be1e239
--- /dev/null
+++ b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-property-example.page
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<page id="DocExamples.Obj-property-example"
+ type="topic"
+ style="property"
+ xmlns="http://projectmallard.org/1.0/"
+ xmlns:ui="http://projectmallard.org/experimental/ui/">
+ <info>
+ <link type="guide" xref="DocExamples.Obj" group="property"/>
+ <title type="link" role="topic">property-example</title>
+ </info>
+ <title>DocExamples.Obj:property-example</title>
+<synopsis><code mime="text/x-python">
+"property-example" {utf8: gint8} : Read / Write
+</code></synopsis>
+<p>This is an example of how to document a property.</p>
+</page>
diff --git a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-signal-example.page b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-signal-example.page
new file mode 100644
index 0000000..5d240fa
--- /dev/null
+++ b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-signal-example.page
@@ -0,0 +1,38 @@
+<?xml version="1.0"?>
+<page id="DocExamples.Obj-signal-example"
+ type="topic"
+ style="signal"
+ xmlns="http://projectmallard.org/1.0/"
+ xmlns:ui="http://projectmallard.org/experimental/ui/">
+ <info>
+ <link type="guide" xref="DocExamples.Obj" group="signal"/>
+ <title type="link" role="topic">signal-example</title>
+ </info>
+ <title>DocExamples.Obj::signal-example</title>
+<synopsis><code mime="text/x-python">
+def callback(float_param, since, user_param1, ...)
+</code></synopsis>
+<p>Emitted when the connection status on the account changes.</p><p>The @dbus_error_name and @details parameters were present, but
+non-functional (always None), in older versions. They have been
+available with their current behaviour since version 0.11.7.</p>
+
+<table>
+<tr>
+<td><p>float_param :</p></td>
+<td><p>a parameter of type float</p></td>
+</tr>
+<tr>
+<td><p>since :</p></td>
+<td></td>
+</tr>
+<tr>
+<td><p>user_param1 :</p></td>
+<td><p>first user parameter (if any) specified with the connect() method</p></td>
+</tr>
+<tr>
+<td><p>... :</p></td>
+<td><p>additional user parameters (if any)</p></td>
+</tr>
+</table>
+<p>Since 0.99</p>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.invoke_error_quark.page b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.new.page
similarity index 60%
rename from tests/doctool/GIRepository-2.0-Python-expected/GIRepository.invoke_error_quark.page
rename to tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.new.page
index a1bea3d..aa6f746 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.invoke_error_quark.page
+++ b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.new.page
@@ -1,24 +1,24 @@
<?xml version="1.0"?>
-<page id="GIRepository.invoke_error_quark"
+<page id="DocExamples.Obj.new"
type="topic"
- style="function"
+ style="constructor"
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"/>
+ <link type="guide" xref="DocExamples.Obj" group="constructor"/>
<api:function>
<api:returns>
- <api:type>GLib.Quark</api:type>
+ <api:type>DocExamples.Obj</api:type>
</api:returns>
- <api:name>g_invoke_error_quark</api:name>
+ <api:name>doc_examples_obj_new</api:name>
</api:function>
</info>
- <title>invoke_error_quark</title>
+ <title>new</title>
<synopsis><code mime="text/x-python">
- returns(GLib.Quark)
-def invoke_error_quark()
+ returns(DocExamples.Obj)
+def new()
</code></synopsis>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.page b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.page
similarity index 69%
rename from tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.page
rename to tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.page
index 4a6216c..3fd5125 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.page
+++ b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.page
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<page id="GIRepository.Repository"
+<page id="DocExamples.Obj"
type="guide"
style="class"
xmlns="http://projectmallard.org/1.0/"
@@ -8,14 +8,15 @@
<info>
<link type="guide" xref="index" group="class"/>
</info>
- <title>GIRepository.Repository</title>
-
+ <title>DocExamples.Obj</title>
+<p>This is an example of how to document a class</p><p>This class has a signal: <link xref="DocExamples.Obj-signal-example">DocExamples.Obj::signal-example</link>.</p><p>And also has a property: <link xref="DocExamples.Obj-property-example">DocExamples.Obj:property-example</link>.</p>
<synopsis><code>
-from gi.repository import GIRepository
+from gi.repository import DocExamples
-repository = GIRepository.Repository() </code></synopsis>
+obj = DocExamples.Obj(<link xref='DocExamples.Obj-property-example'>property_example</link>=value) </code></synopsis>
+<p>Since 0.99</p>
<synopsis>
<title>Hierarchy</title>
<tree>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository._BaseInfoStub.page b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.ObjClass.page
similarity index 75%
rename from tests/doctool/GIRepository-2.0-Python-expected/GIRepository._BaseInfoStub.page
rename to tests/doctool/DocExamples-1.0-Python-expected/DocExamples.ObjClass.page
index 7d57d63..32b131c 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository._BaseInfoStub.page
+++ b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.ObjClass.page
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<page id="GIRepository._BaseInfoStub"
+<page id="DocExamples.ObjClass"
type="guide"
style="record"
xmlns="http://projectmallard.org/1.0/"
@@ -7,6 +7,6 @@
<info>
<link type="guide" xref="index"/>
</info>
- <title>GIRepository_BaseInfoStub</title>
+ <title>DocExamplesObjClass</title>
<p>None</p>
</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/index.page b/tests/doctool/DocExamples-1.0-Python-expected/index.page
similarity index 92%
rename from tests/doctool/GIRepository-2.0-Python-expected/index.page
rename to tests/doctool/DocExamples-1.0-Python-expected/index.page
index badacf0..fc6a9b7 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/index.page
+++ b/tests/doctool/DocExamples-1.0-Python-expected/index.page
@@ -6,7 +6,7 @@
xmlns:ui="http://projectmallard.org/experimental/ui/">
<info>
</info>
- <title>GIRepository Documentation</title>
+ <title>DocExamples Documentation</title>
<links type="topic" ui:expanded="yes" groups="class">
<title>Classes</title>
</links>
diff --git a/tests/doctool/Makefile.am b/tests/doctool/Makefile.am
index 0bac1f7..ba8b555 100644
--- a/tests/doctool/Makefile.am
+++ b/tests/doctool/Makefile.am
@@ -1,15 +1,32 @@
include $(top_srcdir)/common.mk
+include $(top_srcdir)/Makefile.introspection
-GIRS = GIRepository-2.0.gir
+INTROSPECTION_SCANNER_ARGS += --warn-all --warn-error -I.
+
+check_LTLIBRARIES = \
+ libdocexamples.la
+
+AM_CFLAGS = $(GOBJECT_CFLAGS)
+LIBS = $(GOBJECT_LIBS)
+
+libdocexamples_la_SOURCES = $(srcdir)/doc-examples-obj.c $(srcdir)/doc-examples-obj.h
+
+GIRS =
+TYPELIBS = $(GIRS:.gir=.typelib)
+INTROSPECTION_GIRS = $(GIRS)
CHECK_TARGETS = $(GIRS:.gir=-C.page.check) $(GIRS:.gir=-Python.page.check)
MALLARD_DIRS = $(GIRS:.gir=-C) $(GIRS:.gir=-Python)
EXPECTED_MALLARD_DIRS = $(MALLARD_DIRS:=-expected)
-CLEANFILES = $(GIRS)
+CLEANFILES = $(TYPELIBS) $(GIRS)
BUILT_SOURCES = $(MALLARD_DIRS)
EXTRA_DIST = $(EXPECTED_MALLARD_DIRS)
-%.gir:
- cp ../../$*.gir .
+DocExamples-1.0.gir: $(top_builddir)/Gio-2.0.gir libdocexamples.la
+DocExamples_1_0_gir_LIBS = libdocexamples.la
+DocExamples_1_0_gir_INCLUDES = cairo-1.0 Gio-2.0
+DocExamples_1_0_gir_FILES = $(libdocexamples_la_SOURCES)
+#DocExamples_1_0_gir_SCANNERFLAGS = --c-include="regress.h"
+GIRS += DocExamples-1.0.gir
%-C: %.gir
mkdir $*-C ; rm $*-C/*.page ; $(INTROSPECTION_DOCTOOL) --language C $*.gir -o $*-C/ && echo " GEN $*-C/index.page"
@@ -23,7 +40,6 @@ EXTRA_DIST = $(EXPECTED_MALLARD_DIRS)
%-Python.page.check: %-Python
@diff -u -U 10 $(srcdir)/$*-Python-expected $*-Python && echo " TEST $*-Python" && rm -rf $*-Python
-check-local: $(CHECK_TARGETS)
-
+check-local: $(CHECK_TARGETS) $(TYPELIBS)
clean-local:
@rm -rf $(MALLARD_DIRS)
diff --git a/tests/doctool/doc-examples-obj.c b/tests/doctool/doc-examples-obj.c
new file mode 100644
index 0000000..ff86628
--- /dev/null
+++ b/tests/doctool/doc-examples-obj.c
@@ -0,0 +1,103 @@
+/* doc-examples-obj.c */
+
+#include "doc-examples-obj.h"
+
+/**
+ * DocExamplesObj:
+ *
+ * This is an example of how to document a class
+ *
+ * This class has a signal: #DocExamplesObj::signal-example.
+ *
+ * And also has a property: #DocExamplesObj:property-example.
+ *
+ * Since: 0.99
+ */
+
+G_DEFINE_TYPE (DocExamplesObj, doc_examples_obj, G_TYPE_OBJECT)
+
+static void
+doc_examples_obj_get_property (GObject *object,
+ guint property_id,
+ GValue *value,
+ GParamSpec *pspec)
+{
+ switch (property_id)
+ {
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
+ }
+}
+
+static void
+doc_examples_obj_set_property (GObject *object,
+ guint property_id,
+ const GValue *value,
+ GParamSpec *pspec)
+{
+ switch (property_id)
+ {
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
+ }
+}
+
+static void
+doc_examples_obj_class_init (DocExamplesObjClass *klass)
+{
+ GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
+ GParamSpec *pspec;
+
+ gobject_class->get_property = doc_examples_obj_get_property;
+ gobject_class->set_property = doc_examples_obj_set_property;
+
+ /**
+ * DocExamplesObj::signal-example:
+ * @object:
+ * @int_param: a parameter of type int
+ * @float_param: a parameter of type float
+ *
+ * Emitted when the connection status on the account changes.
+ *
+ * The @dbus_error_name and @details parameters were present, but
+ * non-functional (always %NULL), in older versions. They have been
+ * available with their current behaviour since version 0.11.7.
+ *
+ * Since: 0.99
+ */
+ g_signal_new ("signal-example",
+ G_TYPE_FROM_CLASS (gobject_class),
+ G_SIGNAL_RUN_LAST,
+ 0, NULL, NULL,
+ NULL,
+ G_TYPE_NONE, 2, G_TYPE_UINT, G_TYPE_UINT);
+
+ /**
+ * DocExamplesObj:property-example:
+ *
+ * This is an example of how to document a property.
+ *
+ * Type: GLib.HashTable(utf8,gint8)
+ * Transfer: container
+ */
+ pspec = g_param_spec_boxed ("property-example",
+ "Example property",
+ "A contained GHashTable",
+ G_TYPE_HASH_TABLE,
+ G_PARAM_READWRITE);
+ g_object_class_install_property (gobject_class,
+ 1,
+ pspec);
+}
+
+static void
+doc_examples_obj_init (DocExamplesObj *self)
+{
+
+}
+
+DocExamplesObj *
+doc_examples_obj_new (void)
+{
+ return g_object_new (DOC_EXAMPLES_TYPE_OBJ, NULL);
+}
diff --git a/tests/doctool/doc-examples-obj.h b/tests/doctool/doc-examples-obj.h
new file mode 100644
index 0000000..a4437cb
--- /dev/null
+++ b/tests/doctool/doc-examples-obj.h
@@ -0,0 +1,54 @@
+/* doc-examples-obj.h */
+
+#ifndef _DOC_EXAMPLES_OBJ_H
+#define _DOC_EXAMPLES_OBJ_H
+
+#include <glib-object.h>
+
+G_BEGIN_DECLS
+
+#define DOC_EXAMPLES_TYPE_OBJ doc_examples_obj_get_type()
+
+#define DOC_EXAMPLES_OBJ(obj) \
+ (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
+ DOC_EXAMPLES_TYPE_OBJ, DocExamplesObj))
+
+#define DOC_EXAMPLES_OBJ_CLASS(klass) \
+ (G_TYPE_CHECK_CLASS_CAST ((klass), \
+ DOC_EXAMPLES_TYPE_OBJ, DocExamplesObjClass))
+
+#define DOC_EXAMPLES_IS_OBJ(obj) \
+ (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
+ DOC_EXAMPLES_TYPE_OBJ))
+
+#define DOC_EXAMPLES_IS_OBJ_CLASS(klass) \
+ (G_TYPE_CHECK_CLASS_TYPE ((klass), \
+ DOC_EXAMPLES_TYPE_OBJ))
+
+#define DOC_EXAMPLES_OBJ_GET_CLASS(obj) \
+ (G_TYPE_INSTANCE_GET_CLASS ((obj), \
+ DOC_EXAMPLES_TYPE_OBJ, DocExamplesObjClass))
+
+typedef struct _DocExamplesObj DocExamplesObj;
+typedef struct _DocExamplesObjClass DocExamplesObjClass;
+
+
+struct _DocExamplesObj
+{
+ GObject parent;
+
+
+};
+
+struct _DocExamplesObjClass
+{
+ GObjectClass parent_class;
+};
+
+GType doc_examples_obj_get_type (void) G_GNUC_CONST;
+
+DocExamplesObj *doc_examples_obj_new (void);
+
+G_END_DECLS
+
+#endif /* _DOC_EXAMPLES_OBJ_H */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]