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