Hugs.StablePtr

The plain source file for module Hugs.StablePtr is not available.
module Hugs.StablePtr( StablePtr, module Hugs.StablePtr ) where

import Hugs.Prelude( StablePtr, Ptr )

-- recently renamed
newStablePtr = makeStablePtr 

primitive makeStablePtr      :: a -> IO (StablePtr a)
primitive deRefStablePtr     :: StablePtr a -> IO a
primitive freeStablePtr      :: StablePtr a -> IO ()
primitive castStablePtrToPtr :: StablePtr a -> Ptr ()
primitive castPtrToStablePtr :: Ptr () -> StablePtr a


Index

(HTML for this module was generated on 2013-09-19. About the conversion tool.)