gi-ggit-1.0.12: libgit2-glib bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
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

HasParentTypes Native Source # 
Instance details

Defined in GI.Ggit.Objects.Native

IsGValue (Maybe Native) Source #

Convert Native to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.Ggit.Objects.Native

Methods

gvalueGType_ :: IO GType

gvalueSet_ :: Ptr GValue -> Maybe Native -> IO ()

gvalueGet_ :: Ptr GValue -> IO (Maybe 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

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.