gi-ggit-1.0.9: libgit2-glib bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Ggit.Objects.Native

Description

Represents a generic native object.

Synopsis

Exported types

newtype Native Source #

Memory-managed wrapper type.

Constructors

Native (ManagedPtr Native) 

Instances

Instances details
Eq Native Source # 
Instance details

Defined in GI.Ggit.Objects.Native

Methods

(==) :: Native -> Native -> Bool

(/=) :: Native -> Native -> Bool

GObject Native Source # 
Instance details

Defined in GI.Ggit.Objects.Native

ManagedPtrNewtype Native Source # 
Instance details

Defined in GI.Ggit.Objects.Native

Methods

toManagedPtr :: Native -> ManagedPtr Native

TypedObject Native Source # 
Instance details

Defined in GI.Ggit.Objects.Native

Methods

glibType :: IO GType

IsGValue Native Source #

Convert Native to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.Ggit.Objects.Native

Methods

toGValue :: Native -> IO GValue

fromGValue :: GValue -> IO Native

HasParentTypes Native Source # 
Instance details

Defined in GI.Ggit.Objects.Native

type ParentTypes Native Source # 
Instance details

Defined in GI.Ggit.Objects.Native

type ParentTypes Native = '[ObjectFactoryBase, Object]

class (GObject o, IsDescendantOf Native o) => IsNative o Source #

Type class for types which can be safely cast to Native, for instance with toNative.

Instances

Instances details
(GObject o, IsDescendantOf Native o) => IsNative o Source # 
Instance details

Defined in GI.Ggit.Objects.Native

toNative :: (MonadIO m, IsNative o) => o -> m Native Source #

Cast to Native, for types for which this is known to be safe. For general casts, use castTo.

Methods

Overloaded methods

Properties

native

No description available in the introspection data.

constructNativeNative :: (IsNative o, MonadIO m) => Ptr () -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “native” property. This is rarely needed directly, but it is used by new.