Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Ara Adkins
Glasgow Haskell Compiler
Commits
1fc6ee29
Commit
1fc6ee29
authored
Mar 20, 2002
by
simonmar
Browse files
[project @ 2002-03-20 15:38:36 by simonmar]
convert to new-style FFI declarations
parent
4a7079b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/base/Foreign/Ptr.hs
View file @
1fc6ee29
...
...
@@ -9,7 +9,7 @@
-- Stability : provisional
-- Portability : portable
--
-- $Id: Ptr.hs,v 1.
5
2002/03/
14 12:09:50
simonmar Exp $
-- $Id: Ptr.hs,v 1.
6
2002/03/
20 15:38:36
simonmar Exp $
--
-- Pointer types.
--
...
...
@@ -67,5 +67,5 @@ instance Show (Ptr a) where
#
endif
#
endif
foreign
import
"freeHaskellFunctionPtr"
unsafe
foreign
import
ccall
unsafe
"freeHaskellFunctionPtr"
freeHaskellFunPtr
::
FunPtr
a
->
IO
()
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment