HROOT-core-0.10.0.1: src/HROOT/Core/TArrayI/Implementation.hs
{-# LANGUAGE EmptyDataDecls, FlexibleContexts, FlexibleInstances,
ForeignFunctionInterface, IncoherentInstances,
MultiParamTypeClasses, OverlappingInstances, TemplateHaskell,
TypeFamilies, TypeSynonymInstances #-}
module HROOT.Core.TArrayI.Implementation where
import Data.Monoid
import Data.Word
import Data.Int
import Foreign.C
import Foreign.Ptr
import Language.Haskell.TH
import Language.Haskell.TH.Syntax
import System.IO.Unsafe
import FFICXX.Runtime.Cast
import FFICXX.Runtime.CodeGen.Cxx
import FFICXX.Runtime.TH
import HROOT.Core.TArrayI.RawType
import HROOT.Core.TArrayI.FFI
import HROOT.Core.TArrayI.Interface
import HROOT.Core.TArrayI.Cast
import HROOT.Core.TArrayI.RawType
import HROOT.Core.TArrayI.Cast
import HROOT.Core.TArrayI.Interface
import HROOT.Core.TArray.RawType
import HROOT.Core.TArray.Cast
import HROOT.Core.TArray.Interface
import STD.Deletable.RawType
import STD.Deletable.Cast
import STD.Deletable.Interface
instance () => ITArrayI (TArrayI) where
instance () => ITArray (TArrayI) where
getAt = xform1 c_tarrayi_getat
setArray = xform1 c_tarrayi_setarray
setAt = xform2 c_tarrayi_setat
instance () => IDeletable (TArrayI) where
delete = xform0 c_tarrayi_delete