HROOT-graf-0.9: src/HROOT/Graf/TLine/RawType.hs
{-# LANGUAGE ForeignFunctionInterface, TypeFamilies,
MultiParamTypeClasses, FlexibleInstances, TypeSynonymInstances,
EmptyDataDecls, ExistentialQuantification, ScopedTypeVariables #-}
module HROOT.Graf.TLine.RawType where
import Foreign.Ptr
import FFICXX.Runtime.Cast
data RawTLine
newtype TLine = TLine (Ptr RawTLine)
deriving (Eq, Ord, Show)
instance FPtr TLine where
type Raw TLine = RawTLine
get_fptr (TLine ptr) = ptr
cast_fptr_to_obj = TLine