diff options
Diffstat (limited to 'System/Posix/DynamicLinker/Module.hsc')
-rw-r--r-- | System/Posix/DynamicLinker/Module.hsc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/System/Posix/DynamicLinker/Module.hsc b/System/Posix/DynamicLinker/Module.hsc index c678fed..2e5d6fe 100644 --- a/System/Posix/DynamicLinker/Module.hsc +++ b/System/Posix/DynamicLinker/Module.hsc @@ -60,7 +60,8 @@ where #include "HsUnix.h" import System.Posix.DynamicLinker -import Foreign.Ptr ( Ptr, nullPtr, FunPtr ) +import System.Posix.DynamicLinker.Common +import Foreign.Ptr ( Ptr, nullPtr, FunPtr ) #if __GLASGOW_HASKELL__ > 611 import System.Posix.Internals ( withFilePath ) #else @@ -70,10 +71,6 @@ withFilePath :: FilePath -> (CString -> IO a) -> IO a withFilePath = withCString #endif --- abstract handle for dynamically loaded module (EXPORTED) --- -newtype Module = Module (Ptr ()) - unModule :: Module -> (Ptr ()) unModule (Module adr) = adr |