diff options
author | Alberto Ruiz <aruiz@um.es> | 2008-01-22 10:08:07 +0000 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2008-01-22 10:08:07 +0000 |
commit | 1bdc3af98f098f45e97e9c1a3225c5dcb64e3119 (patch) | |
tree | e6d2ad7bb2dae1be433a2facaa555305b7cc90b4 /lib/Data/Packed | |
parent | 17749900a9146ddf6cd8ebf59dc35e56d6bff413 (diff) |
CInt in GSL args
Diffstat (limited to 'lib/Data/Packed')
-rw-r--r-- | lib/Data/Packed/Internal/Common.hs | 5 |
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 |
100 | foreign import ccall "auxi.h gsl_strerror" gsl_strerror :: CInt -> IO (Ptr CChar) | 100 | foreign 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 | -} | ||
105 | foreign 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 |