From: Colin Walters Date: Wed, 18 Feb 2009 17:34:39 +0000 (-0500) Subject: Various gtk-doc fixes: only require 1.11, remove generated files, add docs to SUBDIRS X-Git-Tag: GOBJECT_INTROSPECTION_0_6_3~112 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cdcb727d2974c5a6e4675d05570cc091e909ce41;p=platform%2Fupstream%2Fgobject-introspection.git Various gtk-doc fixes: only require 1.11, remove generated files, add docs to SUBDIRS The gtk-doc introductory commit introduced some generated files; remove those. We apparently only require 1.11, so downgrade to that. Finally, the docs directory was missing from the toplevel SUBDIRS. --- diff --git a/.gitignore b/.gitignore index 742cd666..2b98c866 100644 --- a/.gitignore +++ b/.gitignore @@ -30,6 +30,8 @@ stamp-h1 ylwrap py-compile examples/glib-print +docs/reference/gi-decl-list.txt +docs/reference/gi-decl.txt docs/reference/html docs/reference/xml gir/GIRepository-2.0.gir diff --git a/Makefile.am b/Makefile.am index 0ef83251..33489750 100644 --- a/Makefile.am +++ b/Makefile.am @@ -18,7 +18,7 @@ endif ACLOCAL_AMFLAGS = -I m4 -SUBDIRS = girepository giscanner tools gir tests examples +SUBDIRS = docs girepository giscanner tools gir tests examples DIST_SUBDIRS = m4 $(SUBDIRS) man_MANS = \ diff --git a/configure.ac b/configure.ac index cbb0ec5e..2996286d 100644 --- a/configure.ac +++ b/configure.ac @@ -162,7 +162,7 @@ GIREPO_CFLAGS="$GIREPO_CFLAGS $FFI_CFLAGS" GIREPO_CFLAGS="$GIREPO_CFLAGS $GCOV_CFLAGS" # gtk-doc -GTK_DOC_CHECK([1.12]) +GTK_DOC_CHECK([1.11]) # Checks for header files. AC_HEADER_STDC diff --git a/docs/reference/gi-decl-list.txt b/docs/reference/gi-decl-list.txt deleted file mode 100644 index 952f4946..00000000 --- a/docs/reference/gi-decl-list.txt +++ /dev/null @@ -1,279 +0,0 @@ -
-girepository -G_TYPE_IREPOSITORY -G_IREPOSITORY -GIRepositoryPrivate -GIBaseInfo -GICallableInfo -GIFunctionInfo -GICallbackInfo -GIRegisteredTypeInfo -GIStructInfo -GIUnionInfo -GIEnumInfo -GIObjectInfo -GIInterfaceInfo -GIConstantInfo -GIValueInfo -GISignalInfo -GIVFuncInfo -GIPropertyInfo -GIFieldInfo -GIArgInfo -GITypeInfo -GIErrorDomainInfo -GIUnresolvedInfo -GTypelib -GIRepository -GIRepository -GIRepositoryLoadFlags -g_irepository_get_default -g_irepository_prepend_search_path -g_irepository_get_search_path -g_irepository_load_typelib -g_irepository_is_registered -g_irepository_find_by_name -g_irepository_require -g_irepository_get_dependencies -g_irepository_get_loaded_namespaces -g_irepository_find_by_gtype -g_irepository_get_n_infos -g_irepository_get_info -g_irepository_get_typelib_path -g_irepository_get_shared_library -g_irepository_get_version -g_irepository_get_option_group -g_irepository_dump -g_typelib_new_from_memory -g_typelib_new_from_const_memory -g_typelib_new_from_mapped_file -g_typelib_free -g_typelib_symbol -g_typelib_get_namespace -GIRepositoryError -G_IREPOSITORY_ERROR -g_irepository_error_quark -gi_cclosure_marshal_generic -GIInfoType -g_base_info_ref -g_base_info_unref -g_base_info_get_type -g_base_info_get_name -g_base_info_get_namespace -g_base_info_is_deprecated -g_base_info_get_annotation -g_base_info_get_container -g_base_info_get_typelib -g_info_new -GIFunctionInfoFlags -g_function_info_get_symbol -g_function_info_get_flags -g_function_info_get_property -g_function_info_get_vfunc -G_INVOKE_ERROR -g_invoke_error_quark -GInvokeError -g_function_info_invoke -GITransfer -g_callable_info_get_return_type -g_callable_info_get_caller_owns -g_callable_info_may_return_null -g_callable_info_get_n_args -g_callable_info_get_arg -GIDirection -GIScopeType -g_arg_info_get_direction -g_arg_info_is_dipper -g_arg_info_is_return_value -g_arg_info_is_optional -g_arg_info_may_be_null -g_arg_info_get_ownership_transfer -g_arg_info_get_scope -g_arg_info_get_closure -g_arg_info_get_destroy -g_arg_info_get_type -GITypeTag -g_type_tag_to_string -g_type_info_is_pointer -g_type_info_get_tag -g_type_info_get_param_type -g_type_info_get_interface -g_type_info_get_array_length -g_type_info_get_array_fixed_size -g_type_info_is_zero_terminated -g_type_info_get_n_error_domains -g_type_info_get_error_domain -g_error_domain_info_get_quark -g_error_domain_info_get_codes -g_value_info_get_value -GIFieldInfoFlags -g_field_info_get_flags -g_field_info_get_size -g_field_info_get_offset -g_field_info_get_type -g_field_info_get_field -g_field_info_set_field -g_union_info_get_n_fields -g_union_info_get_field -g_union_info_get_n_methods -g_union_info_get_method -g_union_info_is_discriminated -g_union_info_get_discriminator_offset -g_union_info_get_discriminator_type -g_union_info_get_discriminator -g_union_info_find_method -g_union_info_get_size -g_union_info_get_alignment -g_struct_info_get_n_fields -g_struct_info_get_field -g_struct_info_get_n_methods -g_struct_info_get_method -g_struct_info_find_method -g_struct_info_get_size -g_struct_info_get_alignment -g_struct_info_is_class_struct -g_registered_type_info_get_type_name -g_registered_type_info_get_type_init -g_registered_type_info_get_g_type -g_enum_info_get_n_values -g_enum_info_get_value -g_enum_info_get_storage_type -g_object_info_get_type_name -g_object_info_get_type_init -g_object_info_get_abstract -g_object_info_get_parent -g_object_info_get_n_interfaces -g_object_info_get_interface -g_object_info_get_n_fields -g_object_info_get_field -g_object_info_get_n_properties -g_object_info_get_property -g_object_info_get_n_methods -g_object_info_get_method -g_object_info_find_method -g_object_info_get_n_signals -g_object_info_get_signal -g_object_info_get_n_vfuncs -g_object_info_get_vfunc -g_object_info_get_n_constants -g_object_info_get_constant -g_object_info_get_class_struct -g_interface_info_get_n_prerequisites -g_interface_info_get_prerequisite -g_interface_info_get_n_properties -g_interface_info_get_property -g_interface_info_get_n_methods -g_interface_info_get_method -g_interface_info_find_method -g_interface_info_get_n_signals -g_interface_info_get_signal -g_interface_info_get_n_vfuncs -g_interface_info_get_vfunc -g_interface_info_get_n_constants -g_interface_info_get_constant -g_property_info_get_flags -g_property_info_get_type -g_signal_info_get_flags -g_signal_info_get_class_closure -g_signal_info_true_stops_emit -GIVFuncInfoFlags -g_vfunc_info_get_flags -g_vfunc_info_get_offset -g_vfunc_info_get_signal -g_constant_info_get_type -g_constant_info_get_value - -G_TYPE_TAG_IS_BASIC -g_irepository_get_type -
- -
-gtypelib -G_IR_MAGIC -GTypelib -g_typelib_get_dir_entry -g_typelib_check_sanity -g_typelib_get_string -GTypelibError -G_TYPELIB_ERROR -g_typelib_error_quark -g_typelib_validate - -BLOB_IS_REGISTERED_TYPE -
- -
-ginfo -g_type_info_new -g_info_new_full -
- -
-girffi -GIFFIClosureCallback -g_ir_ffi_get_ffi_type -g_callable_info_get_ffi_arg_types -g_callable_info_get_ffi_return_type -g_callable_info_prepare_closure -g_callable_info_free_closure -
- -
-girmodule -GIrModule -g_ir_module_new -g_ir_module_free -g_ir_module_add_include_module -g_ir_module_build_typelib -
- -
-girnode -GIrNodeFunction -GIrNodeParam -GIrNodeType -GIrNodeSignal -GIrNodeProperty -GIrNodeVFunc -GIrNodeField -GIrNodeValue -GIrNodeEnum -GIrNodeBoxed -GIrNodeStruct -GIrNodeConstant -GIrNodeErrorDomain -GIrNodeXRef -GIrNodeUnion -GIrNodeTypeId -GIrNode -GIrNode -g_ir_node_new -g_ir_node_free -g_ir_node_get_size -g_ir_node_get_full_size -g_ir_node_build_typelib -g_ir_node_cmp -g_ir_node_can_have_member -g_ir_node_add_member -write_string -g_ir_node_param_direction_string -g_ir_node_type_to_string -g_ir_find_node -g_ir_node_compute_offsets -
- -
-girparser -GIrParser -g_ir_parser_new -g_ir_parser_free -g_ir_parser_set_includes -g_ir_parser_parse_string -g_ir_parser_parse_file -
- -
-girwriter -g_idl_writer_save_file -
- diff --git a/docs/reference/gi-decl.txt b/docs/reference/gi-decl.txt deleted file mode 100644 index e35b6a52..00000000 --- a/docs/reference/gi-decl.txt +++ /dev/null @@ -1,1596 +0,0 @@ - -g_type_info_new -GITypeInfo * -GIBaseInfo *container,GTypelib *typelib,guint32 offset - - -g_info_new_full -GIBaseInfo * -GIInfoType type,GIRepository *repository,GIBaseInfo *container,GTypelib *typelib,guint32 offset - - -G_TYPE_IREPOSITORY -#define G_TYPE_IREPOSITORY (g_irepository_get_type ()) - - -G_IREPOSITORY -#define G_IREPOSITORY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), G_TYPE_IREPOSITORY, GIRepository)) - - -GIRepository - - -GIRepositoryClass - - -GIRepositoryPrivate - - -GIBaseInfo - - -GICallableInfo - - -GIFunctionInfo - - -GICallbackInfo - - -GIRegisteredTypeInfo - - -GIStructInfo - - -GIUnionInfo - - -GIEnumInfo - - -GIObjectInfo - - -GIInterfaceInfo - - -GIConstantInfo - - -GIValueInfo - - -GISignalInfo - - -GIVFuncInfo - - -GIPropertyInfo - - -GIFieldInfo - - -GIArgInfo - - -GITypeInfo - - -GIErrorDomainInfo - - -GIUnresolvedInfo - - -GTypelib - - -GIRepository -struct _GIRepository -{ - GObject parent; - - /*< private >*/ - GIRepositoryPrivate *priv; -}; - - -GIRepositoryClass -struct _GIRepositoryClass -{ - GObjectClass parent; -}; - - -GIRepositoryLoadFlags -typedef enum -{ - G_IREPOSITORY_LOAD_FLAG_LAZY = 1 << 0 -} GIRepositoryLoadFlags; - - -g_irepository_get_type -GType -void - - -g_irepository_get_default -GIRepository * -void - - -g_irepository_prepend_search_path -void -const char *directory - - -g_irepository_get_search_path -GSList * -void - - -g_irepository_load_typelib -const char * -GIRepository *repository,GTypelib *typelib,GIRepositoryLoadFlags flags,GError **error - - -g_irepository_is_registered -gboolean -GIRepository *repository,const gchar *namespace_,const gchar *version - - -g_irepository_find_by_name -GIBaseInfo * -GIRepository *repository,const gchar *namespace_,const gchar *name - - -g_irepository_require -GTypelib * -GIRepository *repository,const gchar *namespace_,const gchar *version,GIRepositoryLoadFlags flags,GError **error - - -g_irepository_get_dependencies -gchar ** -GIRepository *repository,const gchar *namespace_ - - -g_irepository_get_loaded_namespaces -gchar ** -GIRepository *repository - - -g_irepository_find_by_gtype -GIBaseInfo * -GIRepository *repository,GType gtype - - -g_irepository_get_n_infos -gint -GIRepository *repository,const gchar *namespace_ - - -g_irepository_get_info -GIBaseInfo * -GIRepository *repository,const gchar *namespace_,gint index - - -g_irepository_get_typelib_path -const gchar * -GIRepository *repository,const gchar *namespace_ - - -g_irepository_get_shared_library -const gchar * -GIRepository *repository,const gchar *namespace_ - - -g_irepository_get_version -const gchar * -GIRepository *repository,const gchar *namespace_ - - -g_irepository_get_option_group -GOptionGroup * -void - - -g_irepository_dump -gboolean -const char *arg, GError **error - - -g_typelib_new_from_memory -GTypelib * -guchar *memory,gsize len - - -g_typelib_new_from_const_memory -GTypelib * -const guchar *memory,gsize len - - -g_typelib_new_from_mapped_file -GTypelib * -GMappedFile *mfile - - -g_typelib_free -void -GTypelib *typelib - - -g_typelib_symbol -gboolean -GTypelib *typelib,const gchar *symbol_name,gpointer *symbol - - -g_typelib_get_namespace -const gchar * -GTypelib *typelib - - -GIRepositoryError -typedef enum -{ - G_IREPOSITORY_ERROR_TYPELIB_NOT_FOUND, - G_IREPOSITORY_ERROR_NAMESPACE_MISMATCH, - G_IREPOSITORY_ERROR_NAMESPACE_VERSION_CONFLICT, - G_IREPOSITORY_ERROR_LIBRARY_NOT_FOUND -} GIRepositoryError; - - -G_IREPOSITORY_ERROR -#define G_IREPOSITORY_ERROR (g_irepository_error_quark ()) - - -g_irepository_error_quark -GQuark -void - - -gi_cclosure_marshal_generic -void -GClosure *closure,GValue *return_gvalue,guint n_param_values,const GValue *param_values,gpointer invocation_hint,gpointer marshal_data - - -GIInfoType -typedef enum -{ - GI_INFO_TYPE_INVALID, - GI_INFO_TYPE_FUNCTION, - GI_INFO_TYPE_CALLBACK, - GI_INFO_TYPE_STRUCT, - GI_INFO_TYPE_BOXED, - GI_INFO_TYPE_ENUM, - GI_INFO_TYPE_FLAGS, - GI_INFO_TYPE_OBJECT, - GI_INFO_TYPE_INTERFACE, - GI_INFO_TYPE_CONSTANT, - GI_INFO_TYPE_ERROR_DOMAIN, - GI_INFO_TYPE_UNION, - GI_INFO_TYPE_VALUE, - GI_INFO_TYPE_SIGNAL, - GI_INFO_TYPE_VFUNC, - GI_INFO_TYPE_PROPERTY, - GI_INFO_TYPE_FIELD, - GI_INFO_TYPE_ARG, - GI_INFO_TYPE_TYPE, - GI_INFO_TYPE_UNRESOLVED -} GIInfoType; - - -g_base_info_ref -GIBaseInfo * -GIBaseInfo *info - - -g_base_info_unref -void -GIBaseInfo *info - - -g_base_info_get_type -GIInfoType -GIBaseInfo *info - - -g_base_info_get_name -const gchar * -GIBaseInfo *info - - -g_base_info_get_namespace -const gchar * -GIBaseInfo *info - - -g_base_info_is_deprecated -gboolean -GIBaseInfo *info - - -g_base_info_get_annotation -const gchar * -GIBaseInfo *info,const gchar *name - - -g_base_info_get_container -GIBaseInfo * -GIBaseInfo *info - - -g_base_info_get_typelib -GTypelib * -GIBaseInfo *info - - -g_info_new -GIBaseInfo * -GIInfoType type,GIBaseInfo *container,GTypelib *typelib,guint32 offset - - -GIFunctionInfoFlags -typedef enum -{ - GI_FUNCTION_IS_METHOD = 1 << 0, - GI_FUNCTION_IS_CONSTRUCTOR = 1 << 1, - GI_FUNCTION_IS_GETTER = 1 << 2, - GI_FUNCTION_IS_SETTER = 1 << 3, - GI_FUNCTION_WRAPS_VFUNC = 1 << 4, - GI_FUNCTION_THROWS = 1 << 5 -} GIFunctionInfoFlags; - - -g_function_info_get_symbol -const gchar * -GIFunctionInfo *info - - -g_function_info_get_flags -GIFunctionInfoFlags -GIFunctionInfo *info - - -g_function_info_get_property -GIPropertyInfo * -GIFunctionInfo *info - - -g_function_info_get_vfunc -GIVFuncInfo * -GIFunctionInfo *info - - -G_INVOKE_ERROR -#define G_INVOKE_ERROR (g_invoke_error_quark ()) - - -g_invoke_error_quark -GQuark -void - - -GInvokeError -typedef enum -{ - G_INVOKE_ERROR_FAILED, - G_INVOKE_ERROR_SYMBOL_NOT_FOUND, - G_INVOKE_ERROR_ARGUMENT_MISMATCH -} GInvokeError; - - -g_function_info_invoke -gboolean -GIFunctionInfo *info,const GArgument *in_args,int n_in_args,const GArgument *out_args,int n_out_args,GArgument *return_value,GError **error - - -GITransfer -typedef enum { - GI_TRANSFER_NOTHING, - GI_TRANSFER_CONTAINER, - GI_TRANSFER_EVERYTHING -} GITransfer; - - -g_callable_info_get_return_type -GITypeInfo * -GICallableInfo *info - - -g_callable_info_get_caller_owns -GITransfer -GICallableInfo *info - - -g_callable_info_may_return_null -gboolean -GICallableInfo *info - - -g_callable_info_get_n_args -gint -GICallableInfo *info - - -g_callable_info_get_arg -GIArgInfo * -GICallableInfo *info,gint n - - -GIDirection -typedef enum { - GI_DIRECTION_IN, - GI_DIRECTION_OUT, - GI_DIRECTION_INOUT -} GIDirection; - - -GIScopeType -typedef enum { - GI_SCOPE_TYPE_INVALID, - GI_SCOPE_TYPE_CALL, - GI_SCOPE_TYPE_OBJECT, - GI_SCOPE_TYPE_ASYNC, - GI_SCOPE_TYPE_NOTIFIED -} GIScopeType; - - -g_arg_info_get_direction -GIDirection -GIArgInfo *info - - -g_arg_info_is_dipper -gboolean -GIArgInfo *info - - -g_arg_info_is_return_value -gboolean -GIArgInfo *info - - -g_arg_info_is_optional -gboolean -GIArgInfo *info - - -g_arg_info_may_be_null -gboolean -GIArgInfo *info - - -g_arg_info_get_ownership_transfer -GITransfer -GIArgInfo *info - - -g_arg_info_get_scope -GIScopeType -GIArgInfo *info - - -g_arg_info_get_closure -gint -GIArgInfo *info - - -g_arg_info_get_destroy -gint -GIArgInfo *info - - -g_arg_info_get_type -GITypeInfo * -GIArgInfo *info - - -GITypeTag -typedef enum { - /* Basic types */ - GI_TYPE_TAG_VOID = 0, - GI_TYPE_TAG_BOOLEAN = 1, - GI_TYPE_TAG_INT8 = 2, - GI_TYPE_TAG_UINT8 = 3, - GI_TYPE_TAG_INT16 = 4, - GI_TYPE_TAG_UINT16 = 5, - GI_TYPE_TAG_INT32 = 6, - GI_TYPE_TAG_UINT32 = 7, - GI_TYPE_TAG_INT64 = 8, - GI_TYPE_TAG_UINT64 = 9, - GI_TYPE_TAG_INT = 10, - GI_TYPE_TAG_UINT = 11, - GI_TYPE_TAG_LONG = 12, - GI_TYPE_TAG_ULONG = 13, - GI_TYPE_TAG_SSIZE = 14, - GI_TYPE_TAG_SIZE = 15, - GI_TYPE_TAG_FLOAT = 16, - GI_TYPE_TAG_DOUBLE = 17, - GI_TYPE_TAG_TIME_T = 18, - GI_TYPE_TAG_GTYPE = 19, - GI_TYPE_TAG_UTF8 = 20, - GI_TYPE_TAG_FILENAME = 21, - /* Non-basic types */ - GI_TYPE_TAG_ARRAY = 22, - GI_TYPE_TAG_INTERFACE = 23, - GI_TYPE_TAG_GLIST = 24, - GI_TYPE_TAG_GSLIST = 25, - GI_TYPE_TAG_GHASH = 26, - GI_TYPE_TAG_ERROR = 27 - /* Note - there is only room currently for 32 tags. - * See docs/typelib-format.txt SimpleTypeBlob definition */ -} GITypeTag; - - -G_TYPE_TAG_IS_BASIC -#define G_TYPE_TAG_IS_BASIC(tag) (tag < GI_TYPE_TAG_ARRAY) - - -g_type_tag_to_string -const gchar* -GITypeTag type - - -g_type_info_is_pointer -gboolean -GITypeInfo *info - - -g_type_info_get_tag -GITypeTag -GITypeInfo *info - - -g_type_info_get_param_type -GITypeInfo * -GITypeInfo *info,gint n - - -g_type_info_get_interface -GIBaseInfo * -GITypeInfo *info - - -g_type_info_get_array_length -gint -GITypeInfo *info - - -g_type_info_get_array_fixed_size -gint -GITypeInfo *info - - -g_type_info_is_zero_terminated -gboolean -GITypeInfo *info - - -g_type_info_get_n_error_domains -gint -GITypeInfo *info - - -g_type_info_get_error_domain -GIErrorDomainInfo * -GITypeInfo *info,gint n - - -g_error_domain_info_get_quark -const gchar * -GIErrorDomainInfo *info - - -g_error_domain_info_get_codes -GIInterfaceInfo * -GIErrorDomainInfo *info - - -g_value_info_get_value -glong -GIValueInfo *info - - -GIFieldInfoFlags -typedef enum -{ - GI_FIELD_IS_READABLE = 1 << 0, - GI_FIELD_IS_WRITABLE = 1 << 1 -} GIFieldInfoFlags; - - -g_field_info_get_flags -GIFieldInfoFlags -GIFieldInfo *info - - -g_field_info_get_size -gint -GIFieldInfo *info - - -g_field_info_get_offset -gint -GIFieldInfo *info - - -g_field_info_get_type -GITypeInfo * -GIFieldInfo *info - - -g_field_info_get_field -gboolean -GIFieldInfo *field_info,gpointer mem,GArgument *value - - -g_field_info_set_field -gboolean -GIFieldInfo *field_info,gpointer mem,const GArgument *value - - -g_union_info_get_n_fields -gint -GIUnionInfo *info - - -g_union_info_get_field -GIFieldInfo * -GIUnionInfo *info,gint n - - -g_union_info_get_n_methods -gint -GIUnionInfo *info - - -g_union_info_get_method -GIFunctionInfo * -GIUnionInfo *info,gint n - - -g_union_info_is_discriminated -gboolean -GIUnionInfo *info - - -g_union_info_get_discriminator_offset -gint -GIUnionInfo *info - - -g_union_info_get_discriminator_type -GITypeInfo * -GIUnionInfo *info - - -g_union_info_get_discriminator -GIConstantInfo * -GIUnionInfo *info,gint n - - -g_union_info_find_method -GIFunctionInfo * -GIUnionInfo *info,const gchar *name - - -g_union_info_get_size -gsize -GIUnionInfo *info - - -g_union_info_get_alignment -gsize -GIUnionInfo *info - - -g_struct_info_get_n_fields -gint -GIStructInfo *info - - -g_struct_info_get_field -GIFieldInfo * -GIStructInfo *info,gint n - - -g_struct_info_get_n_methods -gint -GIStructInfo *info - - -g_struct_info_get_method -GIFunctionInfo * -GIStructInfo *info,gint n - - -g_struct_info_find_method -GIFunctionInfo * -GIStructInfo *info,const gchar *name - - -g_struct_info_get_size -gsize -GIStructInfo *info - - -g_struct_info_get_alignment -gsize -GIStructInfo *info - - -g_struct_info_is_class_struct -gboolean -GIStructInfo *info - - -g_registered_type_info_get_type_name -const gchar * -GIRegisteredTypeInfo *info - - -g_registered_type_info_get_type_init -const gchar * -GIRegisteredTypeInfo *info - - -g_registered_type_info_get_g_type -GType -GIRegisteredTypeInfo *info - - -g_enum_info_get_n_values -gint -GIEnumInfo *info - - -g_enum_info_get_value -GIValueInfo * -GIEnumInfo *info,gint n - - -g_enum_info_get_storage_type -GITypeTag -GIEnumInfo *info - - -g_object_info_get_type_name -const gchar * -GIObjectInfo *info - - -g_object_info_get_type_init -const gchar * -GIObjectInfo *info - - -g_object_info_get_abstract -gboolean -GIObjectInfo *info - - -g_object_info_get_parent -GIObjectInfo * -GIObjectInfo *info - - -g_object_info_get_n_interfaces -gint -GIObjectInfo *info - - -g_object_info_get_interface -GIInterfaceInfo * -GIObjectInfo *info,gint n - - -g_object_info_get_n_fields -gint -GIObjectInfo *info - - -g_object_info_get_field -GIFieldInfo * -GIObjectInfo *info,gint n - - -g_object_info_get_n_properties -gint -GIObjectInfo *info - - -g_object_info_get_property -GIPropertyInfo * -GIObjectInfo *info,gint n - - -g_object_info_get_n_methods -gint -GIObjectInfo *info - - -g_object_info_get_method -GIFunctionInfo * -GIObjectInfo *info,gint n - - -g_object_info_find_method -GIFunctionInfo * -GIObjectInfo *info,const gchar *name - - -g_object_info_get_n_signals -gint -GIObjectInfo *info - - -g_object_info_get_signal -GISignalInfo * -GIObjectInfo *info,gint n - - -g_object_info_get_n_vfuncs -gint -GIObjectInfo *info - - -g_object_info_get_vfunc -GIVFuncInfo * -GIObjectInfo *info,gint n - - -g_object_info_get_n_constants -gint -GIObjectInfo *info - - -g_object_info_get_constant -GIConstantInfo * -GIObjectInfo *info,gint n - - -g_object_info_get_class_struct -GIStructInfo * -GIObjectInfo *info - - -g_interface_info_get_n_prerequisites -gint -GIInterfaceInfo *info - - -g_interface_info_get_prerequisite -GIBaseInfo * -GIInterfaceInfo *info,gint n - - -g_interface_info_get_n_properties -gint -GIInterfaceInfo *info - - -g_interface_info_get_property -GIPropertyInfo * -GIInterfaceInfo *info,gint n - - -g_interface_info_get_n_methods -gint -GIInterfaceInfo *info - - -g_interface_info_get_method -GIFunctionInfo * -GIInterfaceInfo *info,gint n - - -g_interface_info_find_method -GIFunctionInfo * -GIInterfaceInfo *info,const gchar *name - - -g_interface_info_get_n_signals -gint -GIInterfaceInfo *info - - -g_interface_info_get_signal -GISignalInfo * -GIInterfaceInfo *info,gint n - - -g_interface_info_get_n_vfuncs -gint -GIInterfaceInfo *info - - -g_interface_info_get_vfunc -GIVFuncInfo * -GIInterfaceInfo *info,gint n - - -g_interface_info_get_n_constants -gint -GIInterfaceInfo *info - - -g_interface_info_get_constant -GIConstantInfo * -GIInterfaceInfo *info,gint n - - -g_property_info_get_flags -GParamFlags -GIPropertyInfo *info - - -g_property_info_get_type -GITypeInfo * -GIPropertyInfo *info - - -g_signal_info_get_flags -GSignalFlags -GISignalInfo *info - - -g_signal_info_get_class_closure -GIVFuncInfo * -GISignalInfo *info - - -g_signal_info_true_stops_emit -gboolean -GISignalInfo *info - - -GIVFuncInfoFlags -typedef enum -{ - GI_VFUNC_MUST_CHAIN_UP = 1 << 0, - GI_VFUNC_MUST_OVERRIDE = 1 << 1, - GI_VFUNC_MUST_NOT_OVERRIDE = 1 << 2 -} GIVFuncInfoFlags; - - -g_vfunc_info_get_flags -GIVFuncInfoFlags -GIVFuncInfo *info - - -g_vfunc_info_get_offset -gint -GIVFuncInfo *info - - -g_vfunc_info_get_signal -GISignalInfo * -GIVFuncInfo *info - - -g_constant_info_get_type -GITypeInfo * -GIConstantInfo *info - - -g_constant_info_get_value -gint -GIConstantInfo *info,GArgument *value - - -GIFFIClosureCallback -void -ffi_cif *, - void *, - void **, - void * - - -g_ir_ffi_get_ffi_type -ffi_type * -GITypeTag tag - - -g_callable_info_get_ffi_arg_types -ffi_type ** -GICallableInfo *callable_info - - -g_callable_info_get_ffi_return_type -ffi_type * -GICallableInfo *callable_info - - -g_callable_info_prepare_closure -ffi_closure * -GICallableInfo *callable_info,ffi_cif *cif,GIFFIClosureCallback callback,gpointer user_data - - -g_callable_info_free_closure -void -GICallableInfo *callable_info,ffi_closure *closure - - -GIrModule - - -GIrModule -struct _GIrModule -{ - gchar *name; - gchar *version; - gchar *shared_library; - GList *dependencies; - GList *entries; - - /* All modules that are included directly or indirectly */ - GList *include_modules; - - /* Aliases defined in the module or in included modules */ - GHashTable *aliases; - - /* Structures with the 'disguised' flag (typedef struct _X *X) - * in the module or in included modules */ - GHashTable *disguised_structures; -}; - - -g_ir_module_new -GIrModule * -const gchar *name,const gchar *nsversion,const gchar *module_filename - - -g_ir_module_free -void -GIrModule *module - - -g_ir_module_add_include_module -void -GIrModule *module,GIrModule *include_module - - -g_ir_module_build_typelib -GTypelib * -GIrModule *module,GList *modules - - -GIrNode - - -GIrNodeFunction - - -GIrNodeParam - - -GIrNodeType - - -GIrNodeInterface - - -GIrNodeSignal - - -GIrNodeProperty - - -GIrNodeVFunc - - -GIrNodeField - - -GIrNodeValue - - -GIrNodeEnum - - -GIrNodeBoxed - - -GIrNodeStruct - - -GIrNodeConstant - - -GIrNodeErrorDomain - - -GIrNodeXRef - - -GIrNodeUnion - - -GIrNodeTypeId -typedef enum -{ - G_IR_NODE_INVALID = 0, - G_IR_NODE_FUNCTION = 1, - G_IR_NODE_CALLBACK = 2, - G_IR_NODE_STRUCT = 3, - G_IR_NODE_BOXED = 4, - G_IR_NODE_ENUM = 5, - G_IR_NODE_FLAGS = 6, - G_IR_NODE_OBJECT = 7, - G_IR_NODE_INTERFACE = 8, - G_IR_NODE_CONSTANT = 9, - G_IR_NODE_ERROR_DOMAIN = 10, - G_IR_NODE_UNION = 11, - G_IR_NODE_PARAM = 12, - G_IR_NODE_TYPE = 13, - G_IR_NODE_PROPERTY = 14, - G_IR_NODE_SIGNAL = 15, - G_IR_NODE_VALUE = 16, - G_IR_NODE_VFUNC = 17, - G_IR_NODE_FIELD = 18, - G_IR_NODE_XREF = 19 -} GIrNodeTypeId; - - -GIrNode -struct _GIrNode -{ - GIrNodeTypeId type; - gchar *name; -}; - - -GIrNodeXRef -struct _GIrNodeXRef -{ - GIrNode node; - - gchar *namespace; -}; - - -GIrNodeFunction -struct _GIrNodeFunction -{ - GIrNode node; - - gboolean deprecated; - gboolean is_varargs; /* Not in typelib yet */ - - gboolean is_method; - gboolean is_setter; - gboolean is_getter; - gboolean is_constructor; - gboolean wraps_vfunc; - gboolean throws; - - gchar *symbol; - - GIrNodeParam *result; - GList *parameters; -}; - - -GIrNodeType -struct _GIrNodeType -{ - GIrNode node; - - gboolean is_pointer; - gboolean is_basic; - gboolean is_array; - gboolean is_glist; - gboolean is_gslist; - gboolean is_ghashtable; - gboolean is_interface; - gboolean is_error; - gint tag; - - gchar *unparsed; - - gboolean zero_terminated; - gboolean has_length; - gint length; - gboolean has_size; - gint size; - - GIrNodeType *parameter_type1; - GIrNodeType *parameter_type2; - - gchar *interface; - gchar **errors; -}; - - -GIrNodeParam -struct _GIrNodeParam -{ - GIrNode node; - - gboolean in; - gboolean out; - gboolean dipper; - gboolean optional; - gboolean retval; - gboolean allow_none; - gboolean transfer; - gboolean shallow_transfer; - GIScopeType scope; - - gint8 closure; - gint8 destroy; - - GIrNodeType *type; -}; - - -GIrNodeProperty -struct _GIrNodeProperty -{ - GIrNode node; - - gboolean deprecated; - - gchar *name; - gboolean readable; - gboolean writable; - gboolean construct; - gboolean construct_only; - - GIrNodeType *type; -}; - - -GIrNodeSignal -struct _GIrNodeSignal -{ - GIrNode node; - - gboolean deprecated; - - gboolean run_first; - gboolean run_last; - gboolean run_cleanup; - gboolean no_recurse; - gboolean detailed; - gboolean action; - gboolean no_hooks; - - gboolean has_class_closure; - gboolean true_stops_emit; - - gint class_closure; - - GList *parameters; - GIrNodeParam *result; -}; - - -GIrNodeVFunc -struct _GIrNodeVFunc -{ - GIrNode node; - - gboolean is_varargs; /* Not in typelib yet */ - gboolean must_chain_up; - gboolean must_be_implemented; - gboolean must_not_be_implemented; - gboolean is_class_closure; - - GList *parameters; - GIrNodeParam *result; - - gint offset; -}; - - -GIrNodeField -struct _GIrNodeField -{ - GIrNode node; - - gboolean readable; - gboolean writable; - gint bits; - gint offset; - - GIrNodeType *type; -}; - - -GIrNodeInterface -struct _GIrNodeInterface -{ - GIrNode node; - - gboolean abstract; - gboolean deprecated; - - gchar *gtype_name; - gchar *gtype_init; - - gchar *parent; - gchar *class_struct; /* Only applies to classes */ - - GList *interfaces; - GList *prerequisites; - - gint alignment; - gint size; - - GList *members; -}; - - -GIrNodeValue -struct _GIrNodeValue -{ - GIrNode node; - - gboolean deprecated; - - guint32 value; -}; - - -GIrNodeConstant -struct _GIrNodeConstant -{ - GIrNode node; - - gboolean deprecated; - - GIrNodeType *type; - - gchar *value; -}; - - -GIrNodeEnum -struct _GIrNodeEnum -{ - GIrNode node; - - gboolean deprecated; - gint storage_type; - - gchar *gtype_name; - gchar *gtype_init; - - GList *values; -}; - - -GIrNodeBoxed -struct _GIrNodeBoxed -{ - GIrNode node; - - gboolean deprecated; - - gchar *gtype_name; - gchar *gtype_init; - - gint alignment; - gint size; - - GList *members; -}; - - -GIrNodeStruct -struct _GIrNodeStruct -{ - GIrNode node; - - gboolean deprecated; - gboolean disguised; - gboolean is_gclass_struct; - - gchar *gtype_name; - gchar *gtype_init; - - gint alignment; - gint size; - - GList *members; -}; - - -GIrNodeUnion -struct _GIrNodeUnion -{ - GIrNode node; - - gboolean deprecated; - - GList *members; - GList *discriminators; - - gchar *gtype_name; - gchar *gtype_init; - - gint alignment; - gint size; - - gint discriminator_offset; - GIrNodeType *discriminator_type; -}; - - -GIrNodeErrorDomain -struct _GIrNodeErrorDomain -{ - GIrNode node; - - gboolean deprecated; - - gchar *name; - gchar *getquark; - gchar *codes; -}; - - -g_ir_node_new -GIrNode * -GIrNodeTypeId type - - -g_ir_node_free -void -GIrNode *node - - -g_ir_node_get_size -guint32 -GIrNode *node - - -g_ir_node_get_full_size -guint32 -GIrNode *node - - -g_ir_node_build_typelib -void -GIrNode *node,GIrModule *module,GList *modules,GHashTable *strings,GHashTable *types,guchar *data,guint32 *offset,guint32 *offset2 - - -g_ir_node_cmp -int -GIrNode *node,GIrNode *other - - -g_ir_node_can_have_member -gboolean -GIrNode *node - - -g_ir_node_add_member -void -GIrNode *node,GIrNodeFunction *member - - -write_string -guint32 -const gchar *str,GHashTable *strings,guchar *data,guint32 *offset - - -g_ir_node_param_direction_string -const gchar * -GIrNodeParam * node - - -g_ir_node_type_to_string -const gchar * -GIrNodeTypeId type - - -g_ir_find_node -gboolean -GIrModule *module,GList *modules,const char *name,GIrNode **node_out,GIrModule **module_out - - -g_ir_node_compute_offsets -void -GIrNode *node,GIrModule *module,GList *modules - - -GIrParser - - -g_ir_parser_new -GIrParser * -void - - -g_ir_parser_free -void -GIrParser *parser - - -g_ir_parser_set_includes -void -GIrParser *parser,const gchar *const *includes - - -g_ir_parser_parse_string -GList * -GIrParser *parser,const gchar *namespace,const gchar *buffer,gssize length,GError **error - - -g_ir_parser_parse_file -GList * -GIrParser *parser,const gchar *filename,GError **error - - -g_idl_writer_save_file -void -GIdlModule *module, const gchar *filename - - -G_IR_MAGIC -#define G_IR_MAGIC "GOBJ\nMETADATA\r\n\032" - - -BLOB_IS_REGISTERED_TYPE -#define BLOB_IS_REGISTERED_TYPE(blob) \ - ((blob)->blob_type == BLOB_TYPE_STRUCT || \ - (blob)->blob_type == BLOB_TYPE_UNION || \ - (blob)->blob_type == BLOB_TYPE_ENUM || \ - (blob)->blob_type == BLOB_TYPE_OBJECT || \ - (blob)->blob_type == BLOB_TYPE_INTERFACE) - - -GTypelib -struct _GTypelib { - guchar *data; - gsize len; - gboolean owns_memory; - GMappedFile *mfile; - GList *modules; -}; - - -g_typelib_get_dir_entry -DirEntry * -GTypelib *typelib,guint16 index - - -g_typelib_check_sanity -void -void - - -g_typelib_get_string -#define g_typelib_get_string(typelib,offset) ((const gchar*)&(typelib->data)[(offset)]) - - -GTypelibError -typedef enum -{ - G_TYPELIB_ERROR_INVALID, - G_TYPELIB_ERROR_INVALID_HEADER, - G_TYPELIB_ERROR_INVALID_DIRECTORY, - G_TYPELIB_ERROR_INVALID_ENTRY, - G_TYPELIB_ERROR_INVALID_BLOB -} GTypelibError; - - -G_TYPELIB_ERROR -#define G_TYPELIB_ERROR (g_typelib_error_quark ()) - - -g_typelib_error_quark -GQuark -void - - -g_typelib_validate -gboolean -GTypelib *typelib,GError **error -