Namespace

GIRepository – 3.0

GIRepository is a library providing access to typelibs and introspection data which describes C APIs

Version2.79.3
AuthorsGLib Development Team
LicenseLGPL-2.1-or-later
Websitehttps://www.gtk.org
Sourcehttps://gitlab.gnome.org/GNOME/glib/

Build

C headersgirepository/girepository.h
pkg-config filesgirepository-2.0

Dependencies

GLib—2.0 The base utility library
Browse documentation
GModule—2.0 Portable API for dynamically loading modules
Browse documentation
GObject—2.0 The base type system library
Browse documentation
Gio—2.0 Useful classes for general purpose I/O, networking, IPC, settings, etc.
Browse documentation

Classes

ArgInfo

GIArgInfo represents an argument of a callable.

unstable since: 2.80

BaseInfo

GIBaseInfo is the common base struct of all other Info structs accessible through the GIRepository API.

unstable since: 2.80

CallableInfo

GICallableInfo represents an entity which is callable.

unstable since: 2.80

CallbackInfo

GICallbackInfo represents a callback.

unstable since: 2.80

ConstantInfo

GIConstantInfo represents a constant.

unstable since: 2.80

EnumInfo

A GIEnumInfo represents an enumeration.

unstable since: 2.80

FieldInfo

A GIFieldInfo struct represents a field of a struct, union, or object.

unstable since: 2.80

FlagsInfo

A GIFlagsInfo represents an enumeration which defines flag values (independently set bits).

unstable since: 2.80

FunctionInfo

GIFunctionInfo represents a function, method or constructor.

unstable since: 2.80

InterfaceInfo

GIInterfaceInfo represents a GInterface type.

unstable since: 2.80

ObjectInfo

GIObjectInfo represents a classed type.

unstable since: 2.80

PropertyInfo

GIPropertyInfo represents a property in a GObject.

unstable since: 2.80

RegisteredTypeInfo

GIRegisteredTypeInfo represents an entity with a GType associated.

unstable since: 2.80

Repository

GIRepository is used to manage repositories of namespaces. Namespaces are represented on disk by type libraries (.typelib files).

unstable since: 2.80

SignalInfo

GISignalInfo represents a signal.

unstable since: 2.80

StructInfo

GIStructInfo represents a generic C structure type.

unstable since: 2.80

TypeInfo

GITypeInfo represents a type, including information about direction and transfer.

unstable since: 2.80

UnionInfo

GIUnionInfo represents a union type.

unstable since: 2.80

UnresolvedInfo

GIUnresolvedInfo represents an unresolved symbol.

unstable since: 2.80

ValueInfo

A GIValueInfo represents a value in an enumeration.

unstable since: 2.80

VFuncInfo

GIVFuncInfo represents a virtual function.

unstable since: 2.80

Structs

AttributeIter

An opaque structure used to iterate over attributes in a GIBaseInfo struct.

unstable since: 2.80

BaseInfoStack

unstable since: 3.0

Typelib

GITypelib represents a loaded .typelib file, which contains a description of a single module’s API.

unstable since: 2.80

Unions

Argument

Stores an argument of varying type.

unstable since: 2.80

Enumerations

ArrayType

The type of array in a GITypeInfo.

unstable since: 2.80

Direction

The direction of a GIArgInfo.

unstable since: 2.80

RepositoryError

An error code used with GI_REPOSITORY_ERROR in a GError returned from a GIRepository routine.

unstable since: 2.80

ScopeType

Scope type of a GIArgInfo representing callback, determines how the callback is invoked and is used to decided when the invoke structs can be freed.

unstable since: 2.80

Transfer

GITransfer specifies who’s responsible for freeing the resources after an ownership transfer is complete.

unstable since: 2.80

TypeTag

The type tag of a GITypeInfo.

unstable since: 2.80

Bitfields

FieldInfoFlags

Flags for a GIFieldInfo.

unstable since: 2.80

FunctionInfoFlags

Flags for a GIFunctionInfo struct.

unstable since: 2.80

RepositoryLoadFlags

Flags that control how a typelib is loaded.

unstable since: 2.80

VFuncInfoFlags

Flags of a GIVFuncInfo struct.

unstable since: 2.80

Error Domains

InvokeError

An error occurring while invoking a function via gi_function_info_invoke().

unstable since: 2.80

Callbacks

ObjectInfoGetValueFunction

Extract an object instance out of value.

unstable since: 2.80

ObjectInfoRefFunction

Increases the reference count of an object instance.

unstable since: 2.80

ObjectInfoSetValueFunction

Update value and attach the object instance pointer object to it.

unstable since: 2.80

ObjectInfoUnrefFunction

Decreases the reference count of an object instance.

unstable since: 2.80

Functions

cclosure_marshal_generic

A generic C closure marshal function using ffi and GIArgument.

unstable since: 2.80

invoke_error_quark

Get the error quark which represents GIInvokeError.

unstable since: 2.80

type_tag_argument_from_hash_pointer

Convert a data pointer from a GLib data structure to a GIArgument.

unstable since: 2.80

type_tag_hash_pointer_from_argument

Convert a GIArgument to data pointer for use in a GLib data structure.

unstable since: 2.80

type_tag_to_string

Obtain a string representation of type.

unstable since: 2.80

Function Macros

DEPRECATED_ENUMERATOR_IN_2_26_FOR

unstable since: 3.0

DEPRECATED_ENUMERATOR_IN_2_28_FOR

unstable since: 3.0

DEPRECATED_ENUMERATOR_IN_2_30_FOR

unstable since: 3.0

DEPRECATED_ENUMERATOR_IN_2_32_FOR

unstable since: 3.0

DEPRECATED_ENUMERATOR_IN_2_34_FOR

unstable since: 3.0

DEPRECATED_ENUMERATOR_IN_2_36_FOR

unstable since: 3.0

DEPRECATED_ENUMERATOR_IN_2_38_FOR

unstable since: 3.0

DEPRECATED_ENUMERATOR_IN_2_40_FOR

unstable since: 3.0

DEPRECATED_ENUMERATOR_IN_2_42_FOR

unstable since: 3.0

DEPRECATED_ENUMERATOR_IN_2_44_FOR

unstable since: 3.0

DEPRECATED_ENUMERATOR_IN_2_46_FOR

unstable since: 3.0

DEPRECATED_ENUMERATOR_IN_2_48_FOR

unstable since: 3.0

DEPRECATED_ENUMERATOR_IN_2_50_FOR

unstable since: 3.0

DEPRECATED_ENUMERATOR_IN_2_52_FOR

unstable since: 3.0

DEPRECATED_ENUMERATOR_IN_2_54_FOR

unstable since: 3.0

DEPRECATED_ENUMERATOR_IN_2_56_FOR

unstable since: 3.0

DEPRECATED_ENUMERATOR_IN_2_58_FOR

unstable since: 3.0

DEPRECATED_ENUMERATOR_IN_2_60_FOR

unstable since: 3.0

DEPRECATED_ENUMERATOR_IN_2_62_FOR

unstable since: 3.0

DEPRECATED_ENUMERATOR_IN_2_64_FOR

unstable since: 3.0

DEPRECATED_ENUMERATOR_IN_2_66_FOR

unstable since: 3.0

DEPRECATED_ENUMERATOR_IN_2_68_FOR

unstable since: 3.0

DEPRECATED_ENUMERATOR_IN_2_70_FOR

unstable since: 3.0

DEPRECATED_ENUMERATOR_IN_2_72_FOR

unstable since: 3.0

DEPRECATED_ENUMERATOR_IN_2_74_FOR

unstable since: 3.0

DEPRECATED_ENUMERATOR_IN_2_76_FOR

unstable since: 3.0

DEPRECATED_ENUMERATOR_IN_2_78_FOR

unstable since: 3.0

DEPRECATED_ENUMERATOR_IN_2_80_FOR

unstable since: 3.0

DEPRECATED_FOR

unstable since: 3.0

DEPRECATED_IN_2_26_FOR

unstable since: 3.0

DEPRECATED_IN_2_28_FOR

unstable since: 3.0

DEPRECATED_IN_2_30_FOR

unstable since: 3.0

DEPRECATED_IN_2_32_FOR

unstable since: 3.0

DEPRECATED_IN_2_34_FOR

unstable since: 3.0

DEPRECATED_IN_2_36_FOR

unstable since: 3.0

DEPRECATED_IN_2_38_FOR

unstable since: 3.0

DEPRECATED_IN_2_40_FOR

unstable since: 3.0

DEPRECATED_IN_2_42_FOR

unstable since: 3.0

DEPRECATED_IN_2_44_FOR

unstable since: 3.0

DEPRECATED_IN_2_46_FOR

unstable since: 3.0

DEPRECATED_IN_2_48_FOR

unstable since: 3.0

DEPRECATED_IN_2_50_FOR

unstable since: 3.0

DEPRECATED_IN_2_52_FOR

unstable since: 3.0

DEPRECATED_IN_2_54_FOR

unstable since: 3.0

DEPRECATED_IN_2_56_FOR

unstable since: 3.0

DEPRECATED_IN_2_58_FOR

unstable since: 3.0

DEPRECATED_IN_2_60_FOR

unstable since: 3.0

DEPRECATED_IN_2_62_FOR

unstable since: 3.0

DEPRECATED_IN_2_64_FOR

unstable since: 3.0

DEPRECATED_IN_2_66_FOR

unstable since: 3.0

DEPRECATED_IN_2_68_FOR

unstable since: 3.0

DEPRECATED_IN_2_70_FOR

unstable since: 3.0

DEPRECATED_IN_2_72_FOR

unstable since: 3.0

DEPRECATED_IN_2_74_FOR

unstable since: 3.0

DEPRECATED_IN_2_76_FOR

unstable since: 3.0

DEPRECATED_IN_2_78_FOR

unstable since: 3.0

DEPRECATED_IN_2_80_FOR

unstable since: 3.0

DEPRECATED_MACRO_IN_2_26_FOR

unstable since: 3.0

DEPRECATED_MACRO_IN_2_28_FOR

unstable since: 3.0

DEPRECATED_MACRO_IN_2_30_FOR

unstable since: 3.0

DEPRECATED_MACRO_IN_2_32_FOR

unstable since: 3.0

DEPRECATED_MACRO_IN_2_34_FOR

unstable since: 3.0

DEPRECATED_MACRO_IN_2_36_FOR

unstable since: 3.0

DEPRECATED_MACRO_IN_2_38_FOR

unstable since: 3.0

DEPRECATED_MACRO_IN_2_40_FOR

unstable since: 3.0

DEPRECATED_MACRO_IN_2_42_FOR

unstable since: 3.0

DEPRECATED_MACRO_IN_2_44_FOR

unstable since: 3.0

DEPRECATED_MACRO_IN_2_46_FOR

unstable since: 3.0

DEPRECATED_MACRO_IN_2_48_FOR

unstable since: 3.0

DEPRECATED_MACRO_IN_2_50_FOR

unstable since: 3.0

DEPRECATED_MACRO_IN_2_52_FOR

unstable since: 3.0

DEPRECATED_MACRO_IN_2_54_FOR

unstable since: 3.0

DEPRECATED_MACRO_IN_2_56_FOR

unstable since: 3.0

DEPRECATED_MACRO_IN_2_58_FOR

unstable since: 3.0

DEPRECATED_MACRO_IN_2_60_FOR

unstable since: 3.0

DEPRECATED_MACRO_IN_2_62_FOR

unstable since: 3.0

DEPRECATED_MACRO_IN_2_64_FOR

unstable since: 3.0

DEPRECATED_MACRO_IN_2_66_FOR

unstable since: 3.0

DEPRECATED_MACRO_IN_2_68_FOR

unstable since: 3.0

DEPRECATED_MACRO_IN_2_70_FOR

unstable since: 3.0

DEPRECATED_MACRO_IN_2_72_FOR

unstable since: 3.0

DEPRECATED_MACRO_IN_2_74_FOR

unstable since: 3.0

DEPRECATED_MACRO_IN_2_76_FOR

unstable since: 3.0

DEPRECATED_MACRO_IN_2_78_FOR

unstable since: 3.0

DEPRECATED_MACRO_IN_2_80_FOR

unstable since: 3.0

DEPRECATED_TYPE_IN_2_26_FOR

unstable since: 3.0

DEPRECATED_TYPE_IN_2_28_FOR

unstable since: 3.0

DEPRECATED_TYPE_IN_2_30_FOR

unstable since: 3.0

DEPRECATED_TYPE_IN_2_32_FOR

unstable since: 3.0

DEPRECATED_TYPE_IN_2_34_FOR

unstable since: 3.0

DEPRECATED_TYPE_IN_2_36_FOR

unstable since: 3.0

DEPRECATED_TYPE_IN_2_38_FOR

unstable since: 3.0

DEPRECATED_TYPE_IN_2_40_FOR

unstable since: 3.0

DEPRECATED_TYPE_IN_2_42_FOR

unstable since: 3.0

DEPRECATED_TYPE_IN_2_44_FOR

unstable since: 3.0

DEPRECATED_TYPE_IN_2_46_FOR

unstable since: 3.0

DEPRECATED_TYPE_IN_2_48_FOR

unstable since: 3.0

DEPRECATED_TYPE_IN_2_50_FOR

unstable since: 3.0

DEPRECATED_TYPE_IN_2_52_FOR

unstable since: 3.0

DEPRECATED_TYPE_IN_2_54_FOR

unstable since: 3.0

DEPRECATED_TYPE_IN_2_56_FOR

unstable since: 3.0

DEPRECATED_TYPE_IN_2_58_FOR

unstable since: 3.0

DEPRECATED_TYPE_IN_2_60_FOR

unstable since: 3.0

DEPRECATED_TYPE_IN_2_62_FOR

unstable since: 3.0

DEPRECATED_TYPE_IN_2_64_FOR

unstable since: 3.0

DEPRECATED_TYPE_IN_2_66_FOR

unstable since: 3.0

DEPRECATED_TYPE_IN_2_68_FOR

unstable since: 3.0

DEPRECATED_TYPE_IN_2_70_FOR

unstable since: 3.0

DEPRECATED_TYPE_IN_2_72_FOR

unstable since: 3.0

DEPRECATED_TYPE_IN_2_74_FOR

unstable since: 3.0

DEPRECATED_TYPE_IN_2_76_FOR

unstable since: 3.0

DEPRECATED_TYPE_IN_2_78_FOR

unstable since: 3.0

DEPRECATED_TYPE_IN_2_80_FOR

unstable since: 3.0

UNAVAILABLE

unstable since: 3.0

UNAVAILABLE_STATIC_INLINE

unstable since: 3.0

VFUNC_INFO

Casts a GIVFuncInfo or derived pointer into a (GIVFuncInfo*) pointer.

unstable since: 2.80

Constants

TYPE_TAG_N_TYPES

Number of entries in GITypeTag.

unstable since: 3.0