gi-ggit-1.0.2: libgit2-glib bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
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

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.