summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorDominic Steinitz <dominic@steinitz.org>2018-03-19 17:59:00 +0000
committerDominic Steinitz <dominic@steinitz.org>2018-03-19 17:59:00 +0000
commit17ba35af029cee0122f91fc91427a307a5f11dfa (patch)
tree2a57ed3cda8d8125c545f5a64ea915495526688d /packages
parentfce6059d26b0cdaa211232b4812c614fc0076818 (diff)
Fix naming
Diffstat (limited to 'packages')
-rw-r--r--packages/sundials/hmatrix-sundials.cabal (renamed from packages/sundials/sundials.cabal)0
-rw-r--r--packages/sundials/src/Bar.hsc8
2 files changed, 4 insertions, 4 deletions
diff --git a/packages/sundials/sundials.cabal b/packages/sundials/hmatrix-sundials.cabal
index 43a83d0..43a83d0 100644
--- a/packages/sundials/sundials.cabal
+++ b/packages/sundials/hmatrix-sundials.cabal
diff --git a/packages/sundials/src/Bar.hsc b/packages/sundials/src/Bar.hsc
index b1159b6..434c4d4 100644
--- a/packages/sundials/src/Bar.hsc
+++ b/packages/sundials/src/Bar.hsc
@@ -14,11 +14,11 @@ import Foreign.C.String
14 14
15 15
16getContentPtr :: Storable a => Ptr b -> IO a 16getContentPtr :: Storable a => Ptr b -> IO a
17getContPtr ptr = (#peek BarType, content) ptr 17getContentPtr ptr = (#peek BarType, content) ptr
18 18
19getData :: Storable a => Ptr b -> IO a
19getData ptr = (#peek BazType, data) ptr 20getData ptr = (#peek BazType, data) ptr
20 21
21foo ptr = do 22
22 qtr <- getContPtr ptr 23
23 getData qtr
24 24