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