%
\begin{code}
-{-# OPTIONS -fno-implicit-prelude -fcompiling-prelude #-}
+{-# OPTIONS -fno-implicit-prelude -#include "Assembler.h" -#include "../../rts/Schedule.h" -#include "../../rts/ForeignCall.h" #-}
module PrelHugs (
hugsprimPmInt,
-- StgAddr typestr,
-- StgChar callconv )
-foreign import "createAdjThunk" hugsCreateAdjThunk
+foreign import "createAdjThunk" unsafe hugsCreateAdjThunk
:: StablePtr (a -> b) -> Addr{-mallocville String-} -> Char -> IO Addr
-foreign import "malloc" malloc
+foreign import "malloc" unsafe malloc
:: Int -> IO Addr
hugsprimCreateAdjThunk :: (a -> b) -> String -> Char -> IO Addr
hugsprimCreateAdjThunk fun typestr callconv