Documentation fix for unloadAll and example for loading of a shared library (called loadCLib).

This commit is contained in:
lemmih
2005-05-20 02:02:14 +00:00
parent a0b688a660
commit dcf8719ee5
6 changed files with 41 additions and 1 deletions

View File

@ -9,7 +9,7 @@ main = do
t <- load_ "../Dep.o" ["../api"] "resource"
case m_v of
LoadFailure err -> error (unlines err)
LoadSuccess m v -> do putStrLn ( show (a v) ) ; unloadAll m
LoadSuccess m v -> do putStrLn ( show (a v) ) ; unloadAll m -- unloads Null.o but not Dep.o since we're still using it.
case t of
LoadFailure err -> error (unlines err)
LoadSuccess m v -> do putStrLn ( show (a v) ) ; unloadAll m