packages feed

hgdal-1.0.0.0: src/GDAL/OGREnvelope/RawType.hs

{-# LANGUAGE ForeignFunctionInterface, TypeFamilies,
  MultiParamTypeClasses, FlexibleInstances, TypeSynonymInstances,
  EmptyDataDecls, ExistentialQuantification, ScopedTypeVariables #-}
module GDAL.OGREnvelope.RawType where
import Foreign.Ptr
import FFICXX.Runtime.Cast

data RawOGREnvelope

newtype OGREnvelope = OGREnvelope (Ptr RawOGREnvelope)
                        deriving (Eq, Ord, Show)

instance () => FPtr (OGREnvelope) where
        type Raw OGREnvelope = RawOGREnvelope
        get_fptr (OGREnvelope ptr) = ptr
        cast_fptr_to_obj = OGREnvelope