diff options
author | Clark Gaebel <cgaebel@csclub.uwaterloo.ca> | 2012-03-10 18:26:56 -0500 |
---|---|---|
committer | Clark Gaebel <cgaebel@csclub.uwaterloo.ca> | 2012-03-10 18:26:56 -0500 |
commit | f8b7b3734fa6bb8d63914719e09d17940add27d4 (patch) | |
tree | 233c1c41ea8d5a0cf43bf9430cc2b60cff38a3e9 /examples/devel/ej2/wrappers.hs | |
parent | 13fe05779923baad386b0059ff6fbc7c6af405d9 (diff) |
Removed foreign import safety.
Diffstat (limited to 'examples/devel/ej2/wrappers.hs')
-rw-r--r-- | examples/devel/ej2/wrappers.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/devel/ej2/wrappers.hs b/examples/devel/ej2/wrappers.hs index 399c5a9..1c02a24 100644 --- a/examples/devel/ej2/wrappers.hs +++ b/examples/devel/ej2/wrappers.hs | |||
@@ -15,7 +15,7 @@ main = do | |||
15 | ----------------------------------------------------- | 15 | ----------------------------------------------------- |
16 | -- arbitrary data order | 16 | -- arbitrary data order |
17 | 17 | ||
18 | foreign import ccall "c_diag" | 18 | foreign import ccall unsafe "c_diag" |
19 | cDiag :: CInt -- matrix order | 19 | cDiag :: CInt -- matrix order |
20 | -> CInt -> CInt -> Ptr Double -- argument | 20 | -> CInt -> CInt -> Ptr Double -- argument |
21 | -> CInt -> Ptr Double -- result1 | 21 | -> CInt -> Ptr Double -- result1 |