{-# LANGUAGE ForeignFunctionInterface, TypeFamilies, MultiParamTypeClasses, FlexibleInstances, TypeSynonymInstances, EmptyDataDecls, ExistentialQuantification, ScopedTypeVariables #-} module OGDF.DPoint.RawType where import Foreign.Ptr import FFICXX.Runtime.Cast data RawDPoint newtype DPoint = DPoint (Ptr RawDPoint) deriving (Eq, Ord, Show) instance () => FPtr (DPoint) where type Raw DPoint = RawDPoint get_fptr (DPoint ptr) = ptr cast_fptr_to_obj = DPoint