gi-ggit-1.0.6: libgit2-glib bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
Safe HaskellNone
LanguageHaskell2010

GI.Ggit.Objects.Native

Contents

Description

Represents a generic native object.

Synopsis

Exported types

newtype Native Source #

Memory-managed wrapper type.

Constructors

Native (ManagedPtr Native) 
Instances
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

type ParentTypes Native = ObjectFactoryBase ': (Object ': ([] :: [Type]))

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
(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.

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.