packages feed

OpenGLRaw 2.2.0.0 → 2.3.0.0

raw patch · 4 files changed

+7/−20 lines, 4 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

- Graphics.Rendering.OpenGL.Raw.Types: CChar :: Int8 -> CChar
- Graphics.Rendering.OpenGL.Raw.Types: CDouble :: Double -> CDouble
- Graphics.Rendering.OpenGL.Raw.Types: CFloat :: Float -> CFloat
- Graphics.Rendering.OpenGL.Raw.Types: CInt :: Int32 -> CInt
- Graphics.Rendering.OpenGL.Raw.Types: CPtrdiff :: Int64 -> CPtrdiff
- Graphics.Rendering.OpenGL.Raw.Types: CSChar :: Int8 -> CSChar
- Graphics.Rendering.OpenGL.Raw.Types: CShort :: Int16 -> CShort
- Graphics.Rendering.OpenGL.Raw.Types: CUChar :: Word8 -> CUChar
- Graphics.Rendering.OpenGL.Raw.Types: CUInt :: Word32 -> CUInt
- Graphics.Rendering.OpenGL.Raw.Types: CUShort :: Word16 -> CUShort
- Graphics.Rendering.OpenGL.Raw.Types: data FunPtr a :: * -> *
- Graphics.Rendering.OpenGL.Raw.Types: data Int64 :: *
- Graphics.Rendering.OpenGL.Raw.Types: data Ptr a :: * -> *
- Graphics.Rendering.OpenGL.Raw.Types: data Word64 :: *
- Graphics.Rendering.OpenGL.Raw.Types: newtype CChar :: *
- Graphics.Rendering.OpenGL.Raw.Types: newtype CDouble :: *
- Graphics.Rendering.OpenGL.Raw.Types: newtype CFloat :: *
- Graphics.Rendering.OpenGL.Raw.Types: newtype CInt :: *
- Graphics.Rendering.OpenGL.Raw.Types: newtype CPtrdiff :: *
- Graphics.Rendering.OpenGL.Raw.Types: newtype CSChar :: *
- Graphics.Rendering.OpenGL.Raw.Types: newtype CShort :: *
- Graphics.Rendering.OpenGL.Raw.Types: newtype CUChar :: *
- Graphics.Rendering.OpenGL.Raw.Types: newtype CUInt :: *
- Graphics.Rendering.OpenGL.Raw.Types: newtype CUShort :: *

Files

OpenGLRaw.cabal view
@@ -1,5 +1,5 @@ name: OpenGLRaw-version: 2.2.0.0+version: 2.3.0.0 synopsis: A raw binding for the OpenGL graphics system description:   OpenGLRaw is a raw Haskell binding for the OpenGL 4.5 graphics system and
RegistryProcessor/src/Main.hs view
@@ -62,6 +62,11 @@     SI.hPutStrLn h . separate unCommandName . M.keys . commands $registry     SI.hPutStrLn h ") where"     SI.hPutStrLn h ""+    SI.hPutStrLn h "-- Make the foreign imports happy."+    SI.hPutStrLn h "import Data.Int"+    SI.hPutStrLn h "import Data.Word"+    SI.hPutStrLn h "import Foreign.C.Types"+    SI.hPutStrLn h ""     SI.hPutStrLn h "import Foreign.Marshal.Error ( throwIf )"     SI.hPutStrLn h "import Foreign.Ptr ( Ptr, FunPtr, nullFunPtr )"     SI.hPutStrLn h "import System.IO.Unsafe ( unsafePerformIO )"
src/Graphics/Rendering/OpenGL/Raw/Functions.hs view

file too large to diff

src/Graphics/Rendering/OpenGL/Raw/Types.hs view
@@ -56,25 +56,7 @@   GLclampx,   GLhandleARB,   GLvdpauSurfaceNV,-  GLeglImageOES,--  -- * Re-exports-  CChar(..),-  CDouble(..),-  CFloat(..),-  CInt(..),-  CPtrdiff(..),-  CSChar(..),-  CShort(..),-  CUChar(..),-  CUInt(..),-  CUShort(..),--  Int64(..),-  Word64(..),--  FunPtr(..),-  Ptr(..)+  GLeglImageOES ) where  import Data.Int