gi-ggit-1.0.8: 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 #

IsGValue Native Source #

Convert Native to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.Ggit.Objects.Native

GObject Native Source # 
Instance details

Defined in GI.Ggit.Objects.Native

Methods

gobjectType :: IO GType #

HasParentTypes Native Source # 
Instance details

Defined in GI.Ggit.Objects.Native

type ParentTypes Native Source # 
Instance details

Defined in GI.Ggit.Objects.Native

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.

noNative :: Maybe Native Source #

A convenience alias for Nothing :: Maybe Native.

Methods

Overloaded methods

Properties

native

No description available in the introspection data.

constructNativeNative :: IsNative o => Ptr () -> IO (GValueConstruct o) Source #

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