summaryrefslogtreecommitdiff
path: root/lib/Data
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@um.es>2008-01-22 10:08:07 +0000
committerAlberto Ruiz <aruiz@um.es>2008-01-22 10:08:07 +0000
commit1bdc3af98f098f45e97e9c1a3225c5dcb64e3119 (patch)
treee6d2ad7bb2dae1be433a2facaa555305b7cc90b4 /lib/Data
parent17749900a9146ddf6cd8ebf59dc35e56d6bff413 (diff)
CInt in GSL args
Diffstat (limited to 'lib/Data')
-rw-r--r--lib/Data/Packed/Internal/Common.hs5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/Data/Packed/Internal/Common.hs b/lib/Data/Packed/Internal/Common.hs
index 72a7e26..8930cbb 100644
--- a/lib/Data/Packed/Internal/Common.hs
+++ b/lib/Data/Packed/Internal/Common.hs
@@ -99,11 +99,6 @@ check msg f = do
99-- | description of GSL error codes 99-- | description of GSL error codes
100foreign import ccall "auxi.h gsl_strerror" gsl_strerror :: CInt -> IO (Ptr CChar) 100foreign import ccall "auxi.h gsl_strerror" gsl_strerror :: CInt -> IO (Ptr CChar)
101 101
102
103{- | conversion of Haskell functions into function pointers that can be used in the C side
104-}
105foreign import ccall "wrapper" mkfun:: (Double -> Ptr() -> Double) -> IO( FunPtr (Double -> Ptr() -> Double))
106
107--------------------------------------------------- 102---------------------------------------------------
108-- ugly, but my haddock version doesn't understand 103-- ugly, but my haddock version doesn't understand
109-- yet infix type constructors 104-- yet infix type constructors