{-# LANGUAGE ForeignFunctionInterface, TypeFamilies, MultiParamTypeClasses, FlexibleInstances, TypeSynonymInstances, EmptyDataDecls, ExistentialQuantification, ScopedTypeVariables #-} module HROOT.Class.TLatex.RawType where -- import Foreign.Ptr import Foreign.ForeignPtr -- import Foreign.Marshal.Array import HROOT.TypeCast data RawTLatex newtype TLatex = TLatex (ForeignPtr RawTLatex) deriving (Eq, Ord, Show) instance FPtr TLatex where type Raw TLatex = RawTLatex get_fptr (TLatex fptr) = fptr cast_fptr_to_obj = TLatex