Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- data ArrayType
- data Direction
- data InfoType
- = InfoTypeInvalid
- | InfoTypeFunction
- | InfoTypeCallback
- | InfoTypeStruct
- | InfoTypeBoxed
- | InfoTypeEnum
- | InfoTypeFlags
- | InfoTypeObject
- | InfoTypeInterface
- | InfoTypeConstant
- | InfoTypeInvalid0
- | InfoTypeUnion
- | InfoTypeValue
- | InfoTypeSignal
- | InfoTypeVfunc
- | InfoTypeProperty
- | InfoTypeField
- | InfoTypeArg
- | InfoTypeType
- | InfoTypeUnresolved
- | AnotherInfoType Int
- data NvokeError
- data RepositoryError
- data ScopeType
- data Transfer
- data TypeTag
- = TypeTagVoid
- | TypeTagBoolean
- | TypeTagInt8
- | TypeTagUint8
- | TypeTagInt16
- | TypeTagUint16
- | TypeTagInt32
- | TypeTagUint32
- | TypeTagInt64
- | TypeTagUint64
- | TypeTagFloat
- | TypeTagDouble
- | TypeTagGtype
- | TypeTagUtf8
- | TypeTagFilename
- | TypeTagArray
- | TypeTagInterface
- | TypeTagGlist
- | TypeTagGslist
- | TypeTagGhash
- | TypeTagError
- | TypeTagUnichar
- | AnotherTypeTag Int
Enumerations
ArrayType
The type of array in a GITypeInfo
.
ArrayTypeC | a C array, char[] for instance |
ArrayTypeArray | a |
ArrayTypePtrArray | a |
ArrayTypeByteArray | a |
AnotherArrayType Int | Catch-all for unknown values |
Instances
Enum ArrayType Source # | |
Defined in GI.GIRepository.Enums succ :: ArrayType -> ArrayType # pred :: ArrayType -> ArrayType # fromEnum :: ArrayType -> Int # enumFrom :: ArrayType -> [ArrayType] # enumFromThen :: ArrayType -> ArrayType -> [ArrayType] # enumFromTo :: ArrayType -> ArrayType -> [ArrayType] # enumFromThenTo :: ArrayType -> ArrayType -> ArrayType -> [ArrayType] # | |
Eq ArrayType Source # | |
Ord ArrayType Source # | |
Defined in GI.GIRepository.Enums | |
Show ArrayType Source # | |
Direction
The direction of a GIArgInfo
.
DirectionIn | in argument. |
DirectionOut | out argument. |
DirectionInout | in and out argument. |
AnotherDirection Int | Catch-all for unknown values |
Instances
Enum Direction Source # | |
Defined in GI.GIRepository.Enums succ :: Direction -> Direction # pred :: Direction -> Direction # fromEnum :: Direction -> Int # enumFrom :: Direction -> [Direction] # enumFromThen :: Direction -> Direction -> [Direction] # enumFromTo :: Direction -> Direction -> [Direction] # enumFromThenTo :: Direction -> Direction -> Direction -> [Direction] # | |
Eq Direction Source # | |
Ord Direction Source # | |
Defined in GI.GIRepository.Enums | |
Show Direction Source # | |
InfoType
The type of a GIBaseInfo struct.
InfoTypeInvalid | invalid type |
InfoTypeFunction | function, see |
InfoTypeCallback | callback, see |
InfoTypeStruct | struct, see |
InfoTypeBoxed | boxed, see |
InfoTypeEnum | enum, see |
InfoTypeFlags | flags, see |
InfoTypeObject | object, see |
InfoTypeInterface | interface, see |
InfoTypeConstant | contant, see |
InfoTypeInvalid0 | deleted, used to be GI_INFO_TYPE_ERROR_DOMAIN. |
InfoTypeUnion | union, see |
InfoTypeValue | enum value, see |
InfoTypeSignal | signal, see |
InfoTypeVfunc | virtual function, see |
InfoTypeProperty | GObject property, see |
InfoTypeField | struct or union field, see |
InfoTypeArg | argument of a function or callback, see |
InfoTypeType | type information, see |
InfoTypeUnresolved | unresolved type, a type which is not present in the typelib, or any of its dependencies. |
AnotherInfoType Int | Catch-all for unknown values |
Instances
Enum InfoType Source # | |
Eq InfoType Source # | |
Ord InfoType Source # | |
Defined in GI.GIRepository.Enums | |
Show InfoType Source # | |
NvokeError
data NvokeError Source #
An error occuring while invoking a function via
g_function_info_invoke()
.
NvokeErrorFailed | invokation failed, unknown error. |
NvokeErrorSymbolNotFound | symbol couldn't be found in any of the libraries associated with the typelib of the function. |
NvokeErrorArgumentMismatch | the arguments provided didn't match the expected arguments for the functions type signature. |
AnotherNvokeError Int | Catch-all for unknown values |
Instances
RepositoryError
data RepositoryError Source #
An error code used with G_IREPOSITORY_ERROR
in a GError
returned
from a Repository
routine.
RepositoryErrorTypelibNotFound | the typelib could not be found. |
RepositoryErrorNamespaceMismatch | the namespace does not match the requested namespace. |
RepositoryErrorNamespaceVersionConflict | the version of the typelib does not match the requested version. |
RepositoryErrorLibraryNotFound | the library used by the typelib could not be found. |
AnotherRepositoryError Int | Catch-all for unknown values |
Instances
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.
ScopeTypeInvalid | The argument is not of callback type. |
ScopeTypeCall | The callback and associated user_data is only used during the call to this function. |
ScopeTypeAsync | The callback and associated user_data is only used until the callback is invoked, and the callback. is invoked always exactly once. |
ScopeTypeNotified | The callback and and associated user_data is used until the caller is notfied via the destroy_notify. |
AnotherScopeType Int | Catch-all for unknown values |
Instances
Enum ScopeType Source # | |
Defined in GI.GIRepository.Enums succ :: ScopeType -> ScopeType # pred :: ScopeType -> ScopeType # fromEnum :: ScopeType -> Int # enumFrom :: ScopeType -> [ScopeType] # enumFromThen :: ScopeType -> ScopeType -> [ScopeType] # enumFromTo :: ScopeType -> ScopeType -> [ScopeType] # enumFromThenTo :: ScopeType -> ScopeType -> ScopeType -> [ScopeType] # | |
Eq ScopeType Source # | |
Ord ScopeType Source # | |
Defined in GI.GIRepository.Enums | |
Show ScopeType Source # | |
Transfer
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.
Transfer
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.
TransferNothing | transfer nothing from the callee (function or the type instance the property belongs to) to the caller. The callee retains the ownership of the transfer and the caller doesn't need to do anything to free up the resources of this transfer. |
TransferContainer | transfer the container (list, array, hash table) from
the callee to the caller. The callee retains the ownership of the individual
items in the container and the caller has to free up the container resources
( |
TransferEverything | transfer everything, eg the container and its contents from the callee to the caller. This is the case when the callee creates a copy of all the data it returns. The caller is responsible for cleaning up the container and item resources of this transfer. |
AnotherTransfer Int | Catch-all for unknown values |
Instances
Enum Transfer Source # | |
Eq Transfer Source # | |
Ord Transfer Source # | |
Defined in GI.GIRepository.Enums | |
Show Transfer Source # | |
TypeTag
The type tag of a GITypeInfo
.
TypeTagVoid | void |
TypeTagBoolean | boolean |
TypeTagInt8 | 8-bit signed integer |
TypeTagUint8 | 8-bit unsigned integer |
TypeTagInt16 | 16-bit signed integer |
TypeTagUint16 | 16-bit unsigned integer |
TypeTagInt32 | 32-bit signed integer |
TypeTagUint32 | 32-bit unsigned integer |
TypeTagInt64 | 64-bit signed integer |
TypeTagUint64 | 64-bit unsigned integer |
TypeTagFloat | float |
TypeTagDouble | double floating point |
TypeTagGtype | a |
TypeTagUtf8 | a UTF-8 encoded string |
TypeTagFilename | a filename, encoded in the same encoding as the native filesystem is using. |
TypeTagArray | an array |
TypeTagInterface | an extended interface object |
TypeTagGlist | a |
TypeTagGslist | a |
TypeTagGhash | |
TypeTagError | a |
TypeTagUnichar | Unicode character |
AnotherTypeTag Int | Catch-all for unknown values |
Instances
Enum TypeTag Source # | |
Eq TypeTag Source # | |
Ord TypeTag Source # | |
Show TypeTag Source # | |