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