PortMidi 0.1.3 → 0.1.4
raw patch · 3 files changed
+7/−4 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- PortMidi.cabal +5/−2
- README.txt +1/−1
- Sound/PortMidi.hs +1/−1
PortMidi.cabal view
@@ -1,6 +1,6 @@ name: PortMidi-version: 0.1.3-Cabal-Version: >= 1.2+version: 0.1.4+Cabal-Version: >= 1.6 build-type: Simple license: BSD3 license-file: LICENSE@@ -60,4 +60,7 @@ portmidi/porttime/porttime.c portmidi/porttime/ptwinmm.c extra-libraries: winmm +source-repository head+ type: darcs+ location: http://code.haskell.org/PortMidi
README.txt view
@@ -57,7 +57,7 @@ maintainer: Paul H. Liu <paul@thev.net>. ---Last Update: Fri Jan 8 EST 2009+Last Update: Wed May 6 PDT 2015
Sound/PortMidi.hs view
@@ -293,7 +293,7 @@ foreign import ccall "portmidi.h Pm_WriteSysEx" pm_WriteSysEx :: PMStreamPtr -> CULong -> CString -> IO Int writeSysEx :: PMStream -> Timestamp -> String -> IO PMError writeSysEx stream time str = withForeignPtr stream (\st ->- withCString str (\s -> pm_WriteSysEx st time s >>= return . toEnum))+ withCAString str (\s -> pm_WriteSysEx st time s >>= return . toEnum)) foreign import ccall "porttime.h Pt_Time" time :: IO Timestamp