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